0xf104a / MeowMeow

Tiny webserver written in erlang
MIT License
2 stars 0 forks source link

[rules engine] `Default` rule cleans header #15

Closed 0xf104a closed 2 years ago

0xf104a commented 2 years ago

Describe the bug When Default rule is used the headers are cleaned, and only Connection is sent. Thise leads to lack of Content-length header and so browser failing to finalize request correctly.

To Reproduce In config apply Default rule to some route. Request this route through any client.

Expected behavior The header MUST NOT be cleaned when using Default rule

OS & client (please complete the following information):