Determining Content-Type
Oleg Broytmann
phd at phd.pp.ru
Tue Jan 23 07:32:27 EST 2001
More information about the Python-list mailing list
Tue Jan 23 07:32:27 EST 2001
- Previous message (by thread): Determining Content-Type
- Next message (by thread): Determining Content-Type
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 23 Jan 2001, Andreas Pauley wrote:
> I would like to know if there is a way for me to determine the HTTP
> Content-Type header of a file residing on disk.
You cannot determine - you can only guess. For good guess, use
mimetypes.py from standard library.
Oleg.
----
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
- Previous message (by thread): Determining Content-Type
- Next message (by thread): Determining Content-Type
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list