Home | History | Annotate | Download | only in Hosted

Lines Matching full:httpbody

433         NSData *httpBody = nil;
447 httpBody = [NSData dataWithContentsOfFile:[path _webkit_fixedCarbonPOSIXPath]];
448 if (!httpBody)
451 httpBody = [NSData dataWithBytes:postData length:postLen];
453 if (![httpBody length])
459 if ([httpBody _web_startsWithBlankLine])
460 httpBody = [httpBody subdataWithRange:NSMakeRange(1, [httpBody length] - 1)];
462 NSInteger location = [httpBody _web_locationAfterFirstBlankLine];
465 NSData *headerData = [httpBody subdataWithRange:NSMakeRange(0, location)];
467 unsigned dataLength = [httpBody length] - location;
482 httpBody = [httpBody subdataWithRange:NSMakeRange(location, dataLength)];
487 if (![httpBody length])
492 [request setHTTPBody:httpBody];