Skip to content

fix: allow tabs around Content-Length#810

Open
islandryu wants to merge 1 commit intonodejs:mainfrom
islandryu:fix/content-length-tab-whitespace
Open

fix: allow tabs around Content-Length#810
islandryu wants to merge 1 commit intonodejs:mainfrom
islandryu:fix/content-length-tab-whitespace

Conversation

@islandryu
Copy link
Member

Fixes: nodejs/node#62192

The header-field allows optional whitespace (OWS) before and after the field-value.
OWS includes both spaces and horizontal tabs (HTAB).

header-field   = field-name ":" OWS field-value OWS
OWS = *( SP / HTAB )

https://datatracker.ietf.org/doc/html/rfc7230

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trailing tab not stripped from Content-Length

1 participant