My HTTP response does not have transfer-encoding chunked even after not setting content-length header in http request -


i read in articles if not set content-length header in http request,we http response in chunks.(transfer-encoding:chunked choosen server implicitly in such case).in java code did not set content-length header.still getting content-length header in response instead of chunked transfer.please help.

you mean "do not set content-length header in http response".

anyway, servlet engine free not use chunked encoding if can determine length of reponse before sending it.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -