From: Dean M. B. <mik...@gm...> - 2008-09-05 07:37:25
|
Hi Kim, On Fri, Sep 5, 2008 at 3:13 PM, Kim Gräsman <kim...@gm...> wrote: > Hi all, > > Attached is a patch based on http_integration rev. 84, that fixes > cgi_server.py not to strip out CRs. > > I've overridden the code that opens the file on the server-side not to > open as text for content-types beginning with "text/" -- it just > always opens as binary, which makes more sense to me, since all it > does with the content is to stream it out to the client. > > This should neatly solve the whole CRLF debacle :) > Nice. :) Divye, since this is your code, would you mind taking a look and applying the patch and maybe committing if it's alright with you? I'm guessing the change has to be under the Boost Software License as well. ;-) -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |