From: Stephen D. <sd...@gm...> - 2006-07-13 22:03:22
|
On 7/13/06, Bernd Eidenschink <eid...@we...> wrote: > > Hi Vlad, > > > Or you can try to replace ReturnCharData in return.c and see if this > > works (i did not test it): > > yes, it seems to work: > > HTTP/1.1 200 OK > MIME-Version: 1.0 > Accept-Ranges: bytes > Date: Thu, 13 Jul 2006 06:45:55 GMT > Server: NaviServer/4.99.2 > Content-Type: text/html; charset=iso8859-15 > Transfer-encoding: chunked > Connection: close > (Length: not specified [text/html]) > > I think we should somehow solve this and compute a correct Content-Length, > reconsidering also the note from Stephen concerning open bug nr. 1377059. > Yeah, I don't think chunked encoding is the real answer here... >From your explanations of encodings, it sounds like you've got a real handle on this! A lot of nice debugging and testing there too. If you turn that into some real tests and put them in tests/ecoding.test, I'll give you a big kiss! Re the open bug: I'm pretty sure removing the shortcut for utf-8 will fix it, but I'm having trouble writing tests to prove it! Attached are some tests I was working on (ouch!) 4 months ago... Big kisses all round for anyone who can figure this out. |