New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content-Length is not being proxied #129
Comments
Content-Length
is not being proxied
hi @montenegrodr , welcome to the KrakenD community. The behaviour is related with the
https://golang.org/src/net/http/request.go?s=#L157 All the layers in the pipe do propagate all the defined headers, but the internal Following the white rabbit into the hole, I found the Without reading the request body before forwarding it, the only way I can see to allow the propagation of the Any ideas? |
Thanks for your prompt reply @kpacha. Could you point me to an example showing how can I intercept the request and modify the header before forward it? |
here is an example of my dumb proposal: b9093c0 reading the actual |
In the end I decided to change my cherryPy service. Thanks anyway for the effort here. Leaving the issue open to you to decided to close or not. |
fixed, thanks! |
This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link. |
Running the simplest example copied from Library Usage - the same exact code. With this configuration.json:
I am not getting
Content-Length
on my CherryPy service. It's possible to reproduce with this request:All other headers and content are proxied correctly. The problem is only with
Content-Length
.The text was updated successfully, but these errors were encountered: