I'm streaming out data (sometimes png, sometimes json, sometimes xml) and that i obtain the following error in Chrome:

Error 321 (internet::ERR_INVALID_CHUNKED_ENCODING): Unknown error.

I don't understand this error when apache isn't before my Tomcat web application (servlet), only if I deploy it to the test atmosphere that has apache running.

Thanks...

I have looked everywhere to have an response to this, I am likely to place the answer here:

The header entry:

Transfer-Encoding:chunked, chunked

was leading to this error once the response was came back through Apache. Without Apache in-front everything labored fine.

Ought to be: Transfer-Encoding:chunked