Proxy servlet returns an invalid response when original response headers
contain 'Transfer-Encoding: chunked'
-------------------------------------------------------------------------------------------------------------
Key: SHINDIG-907
URL: https://issues.apache.org/jira/browse/SHINDIG-907
Project: Shindig
Issue Type: Bug
Components: Gadget Rendering Server (Java)
Affects Versions: 1.0.x-incubating
Reporter: Tim Moore
When the proxy handler receives a response that uses chunked transfer encoding,
it retains the 'transfer-encoding' header in its own response, but doesn't
actually send the response body in the chunked format. This causes browsers &
other clients to reject the response.
This can be seen most easily when a gadget links to an external stylesheet on a
server that uses chunked responses.
For example, this gadget exhibits the problem:
http://labs.atlassian.com/gadgets/lhardy/trunk/lhardy/gadget.xml
The gadget itself loads normally, but its linked CSS file does not, so the
contents are presented unstyled.
Info on chunked transfer encoding at:
http://en.wikipedia.org/wiki/Chunked_transfer_encoding
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.