tjbush / mochiweb

Automatically exported from code.google.com/p/mochiweb
Other
0 stars 0 forks source link

Accept-Encoding header parsing #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The attached patch allows us to:

1) parse Q values lists (section 2.9 RFC 2616)

2) determine which encodings can be used to encode the body of a request's
response, according to the Accept-Encoding header of the request (section
14.3 RFC 2616).

Let me know what you think about the patch and if any improvement is needed.
Extensive tests can be found in the patch.

cheers

Original issue reported on code.google.com by fdman...@gmail.com on 16 Jan 2010 at 7:15

Attachments:

GoogleCodeExporter commented 8 years ago
r133

Original comment by bob.ippo...@gmail.com on 16 Jan 2010 at 7:24