Finding MIME type for a data stream

Irmen de Jong irmen.NOSPAM at
Fri Mar 9 03:12:42 CET 2012

On 8-3-2012 23:34, Tobiah wrote:
> Also, I realize that I could write the data to a file
> and then use one of the modules that want a file path.
> I would prefer not to do that.
> Thanks

Use StringIO then, instead of a file on disk


More information about the Python-list mailing list