Is it possible that the complete event is firing _before_ all the data
has been received? The complete even should fire only after all the
data has been received, from receiving a zero size chunk if
Chunked-Encoding, or by receiving all the data of length specified in
Content-Length... It is possible there is a bug in the response
handling somewhere...
Is a Content-Length header being specified on the response?
Could I get the headers and content from curl or a tcpdump of the
data. Not sure how much I can help without being able to replicate.