parameters: (filename)
return_statement: return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
docstring: Helper to guess the content-type from the filename.
docstring_summary: Helper to guess the content-type from the filename.
docstring_tokens: Helper to guess the content - type from the filename .
function: def GetContentType(filename):
    """Helper to guess the content-type from the filename."""
    return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
function_tokens: def GetContentType ( filename ) : return mimetypes . guess_type ( filename ) [ 0 ] or 'application/octet-stream'