Skip to content
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

How to proxy with transfer-encoding chunked? #750

Open
Mousaka opened this issue Jan 7, 2021 · 1 comment
Open

How to proxy with transfer-encoding chunked? #750

Mousaka opened this issue Jan 7, 2021 · 1 comment
Labels

Comments

@Mousaka
Copy link

Mousaka commented Jan 7, 2021

I'm trying to proxy to an endpoint using proxy from a Suave server where the remote endpoint is giving me a response with transfer-encoding: chunked.

My Suave server logs

[16:33:33 INF] POST Response (StatusCode 200) at /graphql took 8 ms
[16:34:17 INF] POST Request at /graphql

But my client that made the call says

curl: (56) Illegal or missing hexadecimal sequence in chunked-encoding

My question:
Does proxy not work with transfer-encoding chunked data?

@ademar
Copy link
Member

ademar commented Jan 8, 2021

No, the current implementation does not handle chunked data properly.

It needs a few adjustments.

@ademar ademar added the feature label Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants