[
https://issues.apache.org/jira/browse/THRIFT-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonas updated THRIFT-5922:
--------------------------
Remaining Estimate: (was: 50m)
> 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.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.14.1,
> 0.14.2, 0.16.0, 0.17.0, 0.18.0, 0.18.1, 0.19.0, 0.20.0, 0.21.0, 0.22.0
> Reporter: Jonas
> Priority: Minor
> Labels: easyfix
> Original Estimate: 1h
> Time Spent: 10m
>
> 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)