• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSURLSessionTask countOfBytesReceived with gzip
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Can MCPeerID be used as a key in a dictionary?
  • Next by Date: waiting for IPv4 addresses over bluetooth
  • Previous by thread: Re: Can MCPeerID be used as a key in a dictionary?
  • Next by thread: waiting for IPv4 addresses over bluetooth
  • Index(es):
    • Date
    • Thread