Re: [Karrigell-main] Karrigell 2.0beta Content-Type bug ?
Brought to you by:
quentel
From: Pierre Q. <que...@wa...> - 2004-02-20 21:53:32
|
> vi httpd/Karrigell/KarrigellRequestHandler.py > ... > 190 self.ctype = self.guess_type(self.path) > 191 self.RESPONSE['Content-Type']=self.ctype > ... > > Now the result is that pih files are sent as application/octet-strem > (Binary Executable) > Doh ! > Right, the bug was only half fixed... I bet you had a query string in the URL, didn't you ? Line 190 must be changed to : self.ctype = self.guess_type(self.path_without_qs) This time, no problemo ! (well, hopefully) Cheers, Pierre |