Lines Matching refs:httpBody
554 NSData *httpBody = nil;
570 httpBody = [NSData dataWithContentsOfFile:[path _webkit_fixedCarbonPOSIXPath]];
571 if (!httpBody)
574 httpBody = [NSData dataWithBytes:postData length:postLen];
576 if (![httpBody length])
582 if ([httpBody _web_startsWithBlankLine])
583 httpBody = [httpBody subdataWithRange:NSMakeRange(1, [httpBody length] - 1)];
585 NSInteger location = [httpBody _web_locationAfterFirstBlankLine];
588 NSData *headerData = [httpBody subdataWithRange:NSMakeRange(0, location)];
590 unsigned dataLength = [httpBody length] - location;
605 httpBody = [httpBody subdataWithRange:NSMakeRange(location, dataLength)];
610 if (![httpBody length])
615 [request setHTTPBody:httpBody];