[Zope-dev] [Zope] Header information on file upload

2003-02-01 Thread Martin Gebert
Hi! I already asked this question on the main Zope list, but there was no answer so far; so I hope I find the right audience here... In my HowTo about dealing with BLOBs http://www.zope.org/Members/murphy/MySQL-BLOBs I use a rather unelegant but working method to get the content type of an

[Zope-dev] Re: [Zope] Header information on file upload

2003-02-02 Thread Martin Gebert
Florent Guillaume wrote: The File and Image objects use the Content-Type header on upload if it is provided by the browser. Only if none is provided does it guess one. See OFS.Image.File._get_content_type(). What brings me directly to the central question: Is this Content-Type header