Does anybody know where an iOS app can see the default headers that NSUrlRequest
sets for an HTTP request?
Just creating NSUrlRequest
with
hmm... maybe you might want to try within
- (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse
method in your custom nsurlconnection class. although the documentation mentions something about redirects, this is certainly worth looking into.