When setting the “Authorization” header of a NSMutableURLRequest
, my server’s response of headers does not include that header:
[Host] => myhost.com
[Content-Type] => application/x-www-form-urlencoded
[Connection] => keep-alive
[Accept] => */*
[User-Agent] => MyApp/1 CFNetwork/758.3.15 Darwin/15.4.0
[Content-Length] => 327
[Accept-Language] => en-gb
[Accept-Encoding] => gzip, deflate
I read the documentation suggest not setting this here, so where should I set the authorisation header on the client side?
The purpose of my Authorization
header is to send along my Oauth signature and other Oauth related information