echo-server icon indicating copy to clipboard operation
echo-server copied to clipboard

Add support for OWS in header-fields

Open Davoodeh opened this issue 3 years ago • 0 comments

https://www.rfc-editor.org/rfc/rfc7230#section-3.2

Each header field consists of a case-insensitive field name followed by a colon (":"), optional leading whitespace, the field value, and optional trailing whitespace.

    header-field   = field-name ":" OWS field-value OWS

Before this, the server would crash if the "optional" whitespace was missing.

Davoodeh avatar Aug 25 '22 11:08 Davoodeh