Jonas created THRIFT-5922:
-----------------------------
Summary: Lua: THttpTransport assumes header keys are case-sensitive
Key: THRIFT-5922
URL: https://issues.apache.org/jira/browse/THRIFT-5922
Project: Thrift
Issue Type: Bug
Components: Lua - Library
Affects Versions: 0.22.0, 0.21.0, 0.20.0, 0.19.0, 0.18.1, 0.18.0, 0.17.0,
0.16.0, 0.14.2, 0.14.1, 0.15.0, 0.14.0, 0.13.0, 0.12.0, 0.11.0, 0.10.0
Reporter: Jonas
The lua HTTP Transport assumes that casing of header keys is preserved over the
network. Thus when the traffic is routed through a proxy that changes the
header keys to be all lowercase (such as when using kourier, which is the
default ingress for knative), the client breaks because it fails to retrieve
`headers["Content-Length"]` when `headers["content-length"]` would be present.
This is also different from all other language HTTP transport implementations,
where either the library code or some used library makes sure to ignore casing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)