|Subject:||Re: read-response-body of (web response) depends on Content-Length but ...|
|Date:||Fri, 27 Apr 2012 19:00:11 +0900|
I googled and found http://tools.ietf.org/html/rfc2616 .In a section of "4.4 Message Length":2.If a Transfer-Encoding header field (section 14.41) is present andhas any value other than "identity", then the transfer-length isdefined by use of the "chunked" transfer-coding (section 3.6),unless the message is terminated by closing the connection.3.If a Content-Length header field (section 14.13) is present, itsdecimal value in OCTETs represents both the entity-length and thetransfer-length. The Content-Length header field MUST NOT be sentif these two lengths are different (i.e., if a Transfer-Encodingheader field is present). If a message is received with both aTransfer-Encoding header field and a Content-Length header field,the latter MUST be ignored.
|[Prev in Thread]||Current Thread||[Next in Thread]|