Ben Copsey

Fix compressed bodies screw up

Fix find and replace screw up
@@ -539,7 +539,6 @@ static NSLock *sessionCookiesLock = nil; @@ -539,7 +539,6 @@ static NSLock *sessionCookiesLock = nil;
539 } else if ([self postBody]) { 539 } else if ([self postBody]) {
540 [self setPostBodyReadStream:[ASIInputStream inputStreamWithData:[self postBody]]]; 540 [self setPostBodyReadStream:[ASIInputStream inputStreamWithData:[self postBody]]];
541 } 541 }
542 - [self setPostBodyReadStream:[ASIInputStream inputStreamWithData:[self compressedPostBody]]];  
543 readStream = CFReadStreamCreateForStreamedHTTPRequest(kCFAllocatorDefault, request,(CFReadStreamRef)[self postBodyReadStream]); 542 readStream = CFReadStreamCreateForStreamedHTTPRequest(kCFAllocatorDefault, request,(CFReadStreamRef)[self postBodyReadStream]);
544 543
545 } else { 544 } else {
@@ -2426,7 +2425,7 @@ static NSLock *sessionCookiesLock = nil; @@ -2426,7 +2425,7 @@ static NSLock *sessionCookiesLock = nil;
2426 } 2425 }
2427 2426
2428 #if TARGET_OS_IPHONE 2427 #if TARGET_OS_IPHONE
2429 -+ (void)setisBandwidthThrottledForWWAN:(BOOL)throttle 2428 ++ (void)setShouldThrottleBandwidthForWWAN:(BOOL)throttle
2430 { 2429 {
2431 if (throttle) { 2430 if (throttle) {
2432 [ASIHTTPRequest throttleBandwidthForWWANUsingLimit:ASIWWANBandwidthThrottleAmount]; 2431 [ASIHTTPRequest throttleBandwidthForWWANUsingLimit:ASIWWANBandwidthThrottleAmount];