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
Problems with POST and forms #62
Comments
same thing here on two laravel projects with POST requests, any recommendation ?? |
I ended up giving up, so sadly no recommendations from my side. |
Maybe this old piece of code would give an idea. |
It seems to be related to chunked transfer encoding. My caddy reverse proxy server gets this error:
I've worked around it by just removing that transfer encoding header just before emiting and it seems to work alright:
|
I'm trying to use this proxy to forward requests to an ASP.NET server on another domain. When I send a login request (POST to /api/login, request body containing a form) directly to the ASP.NET server it works fine, but when it has passed through the proxy I get an exception:
This exception occurs when I attempt to read the form from the request body.
I'm running the proxy with the default setup as provided in the readme file. Do I need to do something special to have the proxy include the forms in the proxied requests?
The text was updated successfully, but these errors were encountered: