Lines Matching refs:postData
1807 NSData *postData = nil;
1822 postData = [NSData dataWithContentsOfFile:[path _webkit_fixedCarbonPOSIXPath]];
1824 if (!postData) {
1828 postData = [NSData dataWithBytes:buf length:len];
1831 if ([postData length] == 0) {
1839 if ([postData _web_startsWithBlankLine]) {
1840 postData = [postData subdataWithRange:NSMakeRange(1, [postData length] - 1)];
1842 NSInteger location = [postData _web_locationAfterFirstBlankLine];
1844 … // If the blank line is somewhere in the middle of postData, everything before is the header.
1845 NSData *headerData = [postData subdataWithRange:NSMakeRange(0, location)];
1847 unsigned dataLength = [postData length] - location;
1862 postData = [postData subdataWithRange:NSMakeRange(location, dataLength)];
1866 if ([postData length] == 0) {
1873 [request setHTTPBody:postData];