I need to get content-length from response header but it seems that content-length header is missing due to chunked Transfer Encoding. Is there anyway to get the content-length for Transfer-Encoding type
Is there anyway to get the
Content-Length
forTransfer-Encoding
type
No.
NSURLSession
should return this header if the server provided it but the HTTP spec requires the server to not provide it when using the chunked transfer encoding.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"