echo-server
echo-server copied to clipboard
Simple HTTP Echo Server
Some headers fail when field_name:value (no space after colon) ``` Content-Type:application/json ```
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. > >...
https://www.rfc-editor.org/rfc/rfc7230#section-3 > All HTTP/1.1 messages consist of a start-line followed by a sequence > of octets in a format similar to the Internet Message Format > [RFC5322]: zero or more...
Due for a refactor using OO