[Twisted-Python] [PATCH] Accept and accept-language parsing
mattam at netcourrier.com
mattam at netcourrier.com
Sun Sep 22 06:46:45 MDT 2002
On Sun, Sep 22, 2002 at 01:23:43AM +0200, mattam at netcourrier.com wrote:
> Hi twisters,
>
> here's a patch for parsing accept and accept-language HTTP headers.
> They are contained in a priority queue which can also be
> retrieved as a list. Perhaps some other methods could be
> convenient, but as it's late I let you advise which. I added a
> parseHeaders() method for Request which is called just after
> parseCookies() in HTTPChannel.allHeadersReceived.
>
>
> Bye!
>
Here's a corriged patch, ready for inclusion (diff with http.py v1.41,
-p0).
--
M at t
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accept.patch.gz
Type: application/x-gunzip
Size: 1970 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20020922/c7bcff7c/attachment-0002.bin>
More information about the Twisted-Python
mailing list