You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A field value might be preceded and/or followed by optional
whitespace (OWS); a single SP preceding the field-value is preferred
for consistent readability by humans. The field value does not
include any leading or trailing whitespace: OWS occurring before the
first non-whitespace octet of the field value or after the last
non-whitespace octet of the field value ought to be excluded by
parsers when extracting the field value from a header field.
So, I think the trailing WS from the above example should be defnitly removed before insertion and
reading the RFC the ws between the values of the header field should be trimmed with only on ws.
Hi,
send a example request with the following header like this:
The header is inserted and has the following data:
RFC 7230 says:
So, I think the trailing WS from the above example should be defnitly removed before insertion and
reading the RFC the ws between the values of the header field should be trimmed with only on ws.
Result should be:
On insertion (
default/3
,enter/3
,insert/3
) inmochiweb_headers.erl
, nothing of the input is trimmed.The text was updated successfully, but these errors were encountered: