{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/877","repository_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/877/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/877/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/877/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/877","id":144453147,"number":877,"title":"Need a way to add HTTP Headers","user":{"login":"conanoc","id":11764352,"avatar_url":"https://avatars.githubusercontent.com/u/11764352?v=3","gravatar_id":"","url":"https://api.github.com/users/conanoc","html_url":"https://github.com/conanoc","followers_url":"https://api.github.com/users/conanoc/followers","following_url":"https://api.github.com/users/conanoc/following{/other_user}","gists_url":"https://api.github.com/users/conanoc/gists{/gist_id}","starred_url":"https://api.github.com/users/conanoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conanoc/subscriptions","organizations_url":"https://api.github.com/users/conanoc/orgs","repos_url":"https://api.github.com/users/conanoc/repos","events_url":"https://api.github.com/users/conanoc/events{/privacy}","received_events_url":"https://api.github.com/users/conanoc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/labels/discussion","name":"discussion","color":"eeeeee"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-30T03:23:23Z","updated_at":"2016-04-06T05:21:21Z","closed_at":null,"body":"I need a way to add custom HTTP headers to parse http requests.\r\nParse android SDK has an API to add \"network interceptors\" which can modify request object (or response object either).\r\n\r\nIt will be good if I can add or remove headers at any point before making requests. I can only set network interceptors at initialization time on android SDK.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/comments/206122911","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/877#issuecomment-206122911","issue_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/877","id":206122911,"user":{"login":"nlutsenko","id":606991,"avatar_url":"https://avatars.githubusercontent.com/u/606991?v=3","gravatar_id":"","url":"https://api.github.com/users/nlutsenko","html_url":"https://github.com/nlutsenko","followers_url":"https://api.github.com/users/nlutsenko/followers","following_url":"https://api.github.com/users/nlutsenko/following{/other_user}","gists_url":"https://api.github.com/users/nlutsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/nlutsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlutsenko/subscriptions","organizations_url":"https://api.github.com/users/nlutsenko/orgs","repos_url":"https://api.github.com/users/nlutsenko/repos","events_url":"https://api.github.com/users/nlutsenko/events{/privacy}","received_events_url":"https://api.github.com/users/nlutsenko/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T05:21:21Z","updated_at":"2016-04-06T05:21:21Z","body":"This is challenging, though we probably can find a way to make this work.\r\nYou can definitely get this working using OSS fork of the SDK and exposing/changing `PFURLSessionCommandRunner`. Let me know if that solution works for you."}}