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
Describe the bug
Lowercase HTTP headers are rejected.
To Reproduce
Lowercase Content-Type gives an error.
curl -v -X POST -H "content-type: application/x-ndjson" localhost:9308/bulk -d '{json data}'
{"error":"Content-Type must be set"}
Expected behavior
HTTP headers should not be case sensitive
I'm using the curl example right now, but there are cases where it doesn't work when sending data from other tools.
It seems correct that the RFC definition is also case-insensitive.
Describe the environment:
manticore-server-5.0.2_221020.dbbf48ff3-1.el9.x86_64
The text was updated successfully, but these errors were encountered:
Describe the bug
Lowercase HTTP headers are rejected.
To Reproduce
Lowercase Content-Type gives an error.
Expected behavior
HTTP headers should not be case sensitive
I'm using the curl example right now, but there are cases where it doesn't work when sending data from other tools.
It seems correct that the RFC definition is also case-insensitive.
Describe the environment:
manticore-server-5.0.2_221020.dbbf48ff3-1.el9.x86_64
The text was updated successfully, but these errors were encountered: