def guess_content_type(filename, default='<STR_LIT>'):
if filename:<EOL><INDENT>return mimetypes.guess_type(filename)[<NUM_LIT:0>] or default<EOL><DEDENT>return default<EOL>
Guess the "Content-Type" of a file.

:param filename:
    The filename to guess the "Content-Type" of using :mod:`mimetypes`.
:param default:
    If no "Content-Type" can be guessed, default to `default`.