Header fields in NSURLResponce.
I need to get access to "Location" header. Wireshark says i received it. But
NSHTTPURLResponse *hr = (NSHTTPURLResponse*)response;
NSDictionary *dict = [hr allHeaderFields];
NSLog(@"HEADERS : %@",[dict description]);
doesnt' show any "Location". Any suggestions?
NSHTTPURLResponse *hr = (NSHTTPURLResponse*)response;
NSDictionary *dict = [hr allHeaderFields];
NSLog(@"HEADERS : %@",[dict description]);
doesnt' show any "Location". Any suggestions?
Mac OS X (10.6.2)