18 May 23:13
[PATCH 0/2] strip leading/trailing linear whitespace in headers
Hello, I've pushed the following two changes to my git repo,
based on "master" of git://github.com/fauna/mongrel.git
[PATCH 1/2] ragel.rake: rebuild on http11_parser_common.rl changes
[PATCH 2/2] strip trailing and leading linear whitespace in headers
The first patch is a trivial rake dependency fix.
I could definitely use a more pairs of eyes to review my second patch
which I've included inline below. I'm also planning this for the
unicorn and kcar projects.
RFC 2616, section 4.2:
> The field-content does not include any leading or trailing LWS:
> linear white space occurring before the first non-whitespace
> character of the field-value or after the last non-whitespace
> character of the field-value. Such leading or trailing LWS MAY be
> removed without changing the semantics of the field value. Any LWS
> that occurs between field-content MAY be replaced with a single SP
> before interpreting the field value or forwarding the message
> downstream.
---
You can pull from my repo here:
git pull git://bogomips.org/mongrel.git http11-lws
If you like web browsers (I don't) you can view the changes here:
http://bogomips.org/mongrel.git?h=http11-lws
(Continue reading)
RSS Feed