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
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".
Originally posted by @szoper at zfcampus/zf-content-negotiation#61