NSURLSessionTask countOfBytesReceived with gzip
NSURLSessionTask countOfBytesReceived with gzip
- Subject: NSURLSessionTask countOfBytesReceived with gzip
- From: "Van Tol, Ladd" <email@hidden>
- Date: Fri, 23 May 2014 21:33:47 +0000
- Thread-topic: NSURLSessionTask countOfBytesReceived with gzip
Is there any way to discover how many actual body bytes have passed through an NSURLSessionTask?
When using gzipped HTTP bodies, it appears that countOfBytesReceived reflect the decompressed size, rather than the "size on the wire".
In this case, the server is not sending Content-Length, so I can't readily derive it out-of-band.
- Ladd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden