[Twisted-Python] [PATCH] Accept and accept-language parsing

Glyph Lefkowitz glyph at twistedmatrix.com
Sun Sep 22 08:38:31 EDT 2002


On Sun, 22 Sep 2002 14:46:45 +0200, <mattam at netcourrier.com> wrote:
> On Sun, Sep 22, 2002 at 01:23:43AM +0200, mattam at netcourrier.com wrote: 

> > 	here's a patch for parsing accept and accept-language HTTP headers.

> Here's a corriged patch, ready for inclusion (diff with http.py v1.41,
> -p0).

Could you please provide some unit tests in this patch, both for the parsing of
accept-language and the priority queue itself?  That would provide some basic
documentation of the API as well.  Thanks!

-- 
 |    <`'>    |  Glyph Lefkowitz: Traveling Sorcerer   |
 |   < _/ >   |  Lead Developer,  the Twisted project  |
 |  < ___/ >  |      http://www.twistedmatrix.com      |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20020922/5c841bdf/attachment.pgp 


More information about the Twisted-Python mailing list