Is there any way to add HTTP header to NSURLRequest object? I used to add them in NSMutableURLRequest using:
NSURLRequest
NSMutableURLRequest
[request addValue:@\"P
Already answered (and thanks to those answers), but here's a more simple example:
NSMutableURLRequest* request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:url]]; [request setValue:@"es" forHTTPHeaderField:@"Accept-Language"];