[Tutor] Determine Filetype

admin at gg-lab.net admin at gg-lab.net
Fri Sep 18 19:05:13 CEST 2009


Hi,

i'm putting file in a DB as BLOB entries. To serve them, i need to
take Content-Type headers.

So, i'm looking for a function that returnes the filetype, given a data str.

I've found many other topics like this in python mail-archive, but any
of them contains the solution.

Can you help me, please?

Thankyou!


More information about the Tutor mailing list