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

Transfer-Encoding: chunked #10

Open
weierophinney opened this issue Dec 31, 2019 · 0 comments
Open

Transfer-Encoding: chunked #10

weierophinney opened this issue Dec 31, 2019 · 0 comments

Comments

@weierophinney
Copy link
Contributor

It is impossible to implement a controller able to handle chunked HTTP request. This is a kind of requests sent by WSO2 ESB by default.

Consider this example. It results in a 400 Bad Request response with details "JSON decoding error: Syntax error, malformed JSON".

POST / HTTP/1.1
rabbitmq.message.id: urn:uuid:1e91658a-1a15-4ebd-a9da-06b7554614c6
Content-Type: application/json; charset=UTF-8
SOAPAction:
Transfer-Encoding: chunked
Host: xxx
Connection: Keep-Alive
User-Agent: Synapse-PT-HttpComponents-NIO

78
{"type":"xxx","event":"{\"noLogin\":xxx,\"companyId\":xxx,\"userId\":xxx,\"eventDate\":null}"}
0

Originally posted by @szoper at zfcampus/zf-content-negotiation#61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant