Re:HTTP "Prefer:Safe" – Making Online Safety Simpler in Firefox
by wlv on Monday August 25, 2014 @06:03AM
(#8221174)
Why isn't there a space before "Safe"? New compact http headers saving one character?
[ Parent
| on HN ]
Re:HTTP "Prefer:Safe" – Making Online Safety Simpler in Firefox
by Aissen on Monday August 25, 2014 @07:48AM
(#8221357)
I used to think so. Then I read the spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
The field value MAY be preceded by any amount of LWS, though a single SP is preferred.
For the definition of SP and LWS, see: http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2
For the definition of MAY, see: https://www.ietf.org/rfc/rfc2119.txt