Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Transfer-Encoding: chunked #61

Open
m4rcinkowski opened this issue Mar 1, 2016 · 1 comment
Open

Transfer-Encoding: chunked #61

m4rcinkowski opened this issue Mar 1, 2016 · 1 comment

Comments

@m4rcinkowski
Copy link

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
@weierophinney
Copy link
Member

This repository has been closed and moved to laminas-api-tools/api-tools-content-negotiation; a new issue has been opened at laminas-api-tools/api-tools-content-negotiation#10.

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

No branches or pull requests

2 participants