• 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
How to keep HTTP responses with Content-Encoding from being decoded?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to keep HTTP responses with Content-Encoding from being decoded?


  • Subject: How to keep HTTP responses with Content-Encoding from being decoded?
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 04 Aug 2015 12:26:52 -0700

Is there any way to disable NSURLConnection from automatically decoding a gzip-encoded HTTP response?

That is, I’m requesting a resource whose response headers include “Content-Encoding: gzip”, and I want to capture the compressed form. (I’m saving it to disk and I want it to stay compressed; also there’s an external checksum of the resource in its compressed form, and if I were to re-compress it I’d be likely to arrive at the wrong checksum.)

—Jens
 _______________________________________________
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


  • Follow-Ups:
    • Re: How to keep HTTP responses with Content-Encoding from being decoded?
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: Re: Supported TLS version for CFNetwork in various Mac OS X
  • Next by Date: CNCopySupportedInterfaces returns NULL in ios 9b4
  • Previous by thread: RE: Supported TLS version for CFNetwork in various Mac OS X
  • Next by thread: Re: How to keep HTTP responses with Content-Encoding from being decoded?
  • Index(es):
    • Date
    • Thread