38 BOOL _withCredentials;
48 + (id)requestWithURL:(
CPURL)aURL
77 _HTTPHeaderFields = @{};
78 _withCredentials = NO;
95 _URL =
new CFURL(aURL);
104 return [_HTTPHeaderFields objectForKey:aField];
114 [_HTTPHeaderFields setObject:aValue forKey:aField];
129 [request setHTTPBody:[
self HTTPBody]];
186 _HTTPMethod = aValue;
192 - (BOOL)withCredentials
194 return _withCredentials;
200 - (void)setWithCredentials:(BOOL)aValue
202 _withCredentials = aValue;
210 return _HTTPHeaderFields;