Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 13, 2009, 11:59 PM   #1
ace2600
macrumors member
 
Join Date: Mar 2008
Location: Austin, Texas
gzip handling in NSURLConnection

I've read that NSURLConnection automatically decompresses request that are gzipped. Without having to specify accept-encoding or anything in the request. In doing an asynchronous NSURLConnection, I print the lengths of the returned data in each didReceiveData call, but it appears to be the uncompressed length.

Does NSURLConnection decompress the data before sending to didReceiveData? How can I tell if the data being received was originally compressed?

Thanks!
ace2600 is offline   0 Reply With Quote
Old Jan 14, 2009, 02:57 AM   #2
caveman_uk
Guest
 
caveman_uk's Avatar
 
Join Date: Feb 2003
Location: Hitchin, Herts, UK
I seem to recall reading somewhere that this behavior was an unannounced change between SDK versions.
caveman_uk is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
NSURLConnection for multiple views not receiving data asynchronously ashwinr87 iPhone/iPad Programming 13 Nov 3, 2011 05:47 PM
Please don't kill me: IE 7 tab handling in Firefox? mcmillan Mac Applications and Mac App Store 10 Apr 9, 2009 08:00 PM
[Dashcode]How to add resize handle in widget? atom2ueki Mac Programming 0 Feb 25, 2009 01:47 AM
Open Document Handling in Java stadidas Mac Programming 1 May 28, 2006 08:12 AM
Request: Ask for Gzip support in Safari arn Mac Applications and Mac App Store 1 Aug 8, 2003 11:56 PM


All times are GMT -5. The time now is 09:49 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC