Provide a means to disable automatic HTTP content decoding
Originator: | john.firebaugh | ||
Number: | rdar://25180768 | Date Originated: | 15-Mar-2016 |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | |
Classification: | Reproducible: |
Cocoa networking APIs should provide a means to disable automatic content decoding of responses with a Content-Encoding: gzip header. This is a feature provided by other major networking libraries, such as libcurl and OkHttp, and it is essential for acceptable performance of certain use cases, e.g. downloading a compressed representation of a resource to disk. A private API exists to accomplish this (_CFURLRequestSetProtocolProperty + kCFURLRequestDoNotDecodeData); please consider making it public.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!