{"action":"closed","number":143,"pull_request":{"url":"https://api.github.com/repos/3lvis/Networking/pulls/143","id":89540461,"html_url":"https://github.com/3lvis/Networking/pull/143","diff_url":"https://github.com/3lvis/Networking/pull/143.diff","patch_url":"https://github.com/3lvis/Networking/pull/143.patch","issue_url":"https://api.github.com/repos/3lvis/Networking/issues/143","number":143,"state":"closed","locked":false,"title":"Add support for setting header fields","user":{"login":"3lvis","id":1088217,"avatar_url":"https://avatars.githubusercontent.com/u/1088217?v=3","gravatar_id":"","url":"https://api.github.com/users/3lvis","html_url":"https://github.com/3lvis","followers_url":"https://api.github.com/users/3lvis/followers","following_url":"https://api.github.com/users/3lvis/following{/other_user}","gists_url":"https://api.github.com/users/3lvis/gists{/gist_id}","starred_url":"https://api.github.com/users/3lvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lvis/subscriptions","organizations_url":"https://api.github.com/users/3lvis/orgs","repos_url":"https://api.github.com/users/3lvis/repos","events_url":"https://api.github.com/users/3lvis/events{/privacy}","received_events_url":"https://api.github.com/users/3lvis/received_events","type":"User","site_admin":false},"body":"## Adds support for setting custom header fields\r\n\r\n```swift \r\nlet networking = Networking(baseURL: baseURL)\r\nnetworking.headerFields = [\"HeaderKey\": \"HeaderValue\"]\r\nnetworking.POST(\"/post\") { JSON, error in\r\n    //.....\r\n}\r\n```\r\n\r\nFixes https://github.com/3lvis/Networking/issues/138","created_at":"2016-10-16T21:24:29Z","updated_at":"2016-10-16T22:40:49Z","closed_at":"2016-10-16T22:40:49Z","merged_at":"2016-10-16T22:40:49Z","merge_commit_sha":"5a77fdffd7865f077673d12a715fe07df3ca0610","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/3lvis/Networking/pulls/143/commits","review_comments_url":"https://api.github.com/repos/3lvis/Networking/pulls/143/comments","review_comment_url":"https://api.github.com/repos/3lvis/Networking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/3lvis/Networking/issues/143/comments","statuses_url":"https://api.github.com/repos/3lvis/Networking/statuses/2be1a821493d36fc2c79508434ddb2ec7002930d","head":{"label":"3lvis:feature/add-support-for-setting-header-fields","ref":"feature/add-support-for-setting-header-fields","sha":"2be1a821493d36fc2c79508434ddb2ec7002930d","user":{"login":"3lvis","id":1088217,"avatar_url":"https://avatars.githubusercontent.com/u/1088217?v=3","gravatar_id":"","url":"https://api.github.com/users/3lvis","html_url":"https://github.com/3lvis","followers_url":"https://api.github.com/users/3lvis/followers","following_url":"https://api.github.com/users/3lvis/following{/other_user}","gists_url":"https://api.github.com/users/3lvis/gists{/gist_id}","starred_url":"https://api.github.com/users/3lvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lvis/subscriptions","organizations_url":"https://api.github.com/users/3lvis/orgs","repos_url":"https://api.github.com/users/3lvis/repos","events_url":"https://api.github.com/users/3lvis/events{/privacy}","received_events_url":"https://api.github.com/users/3lvis/received_events","type":"User","site_admin":false},"repo":{"id":31158982,"name":"Networking","full_name":"3lvis/Networking","owner":{"login":"3lvis","id":1088217,"avatar_url":"https://avatars.githubusercontent.com/u/1088217?v=3","gravatar_id":"","url":"https://api.github.com/users/3lvis","html_url":"https://github.com/3lvis","followers_url":"https://api.github.com/users/3lvis/followers","following_url":"https://api.github.com/users/3lvis/following{/other_user}","gists_url":"https://api.github.com/users/3lvis/gists{/gist_id}","starred_url":"https://api.github.com/users/3lvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lvis/subscriptions","organizations_url":"https://api.github.com/users/3lvis/orgs","repos_url":"https://api.github.com/users/3lvis/repos","events_url":"https://api.github.com/users/3lvis/events{/privacy}","received_events_url":"https://api.github.com/users/3lvis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/3lvis/Networking","description":"Simple HTTP Networking in Swift a NSURLSession wrapper with image caching support","fork":false,"url":"https://api.github.com/repos/3lvis/Networking","forks_url":"https://api.github.com/repos/3lvis/Networking/forks","keys_url":"https://api.github.com/repos/3lvis/Networking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3lvis/Networking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3lvis/Networking/teams","hooks_url":"https://api.github.com/repos/3lvis/Networking/hooks","issue_events_url":"https://api.github.com/repos/3lvis/Networking/issues/events{/number}","events_url":"https://api.github.com/repos/3lvis/Networking/events","assignees_url":"https://api.github.com/repos/3lvis/Networking/assignees{/user}","branches_url":"https://api.github.com/repos/3lvis/Networking/branches{/branch}","tags_url":"https://api.github.com/repos/3lvis/Networking/tags","blobs_url":"https://api.github.com/repos/3lvis/Networking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3lvis/Networking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3lvis/Networking/git/refs{/sha}","trees_url":"https://api.github.com/repos/3lvis/Networking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3lvis/Networking/statuses/{sha}","languages_url":"https://api.github.com/repos/3lvis/Networking/languages","stargazers_url":"https://api.github.com/repos/3lvis/Networking/stargazers","contributors_url":"https://api.github.com/repos/3lvis/Networking/contributors","subscribers_url":"https://api.github.com/repos/3lvis/Networking/subscribers","subscription_url":"https://api.github.com/repos/3lvis/Networking/subscription","commits_url":"https://api.github.com/repos/3lvis/Networking/commits{/sha}","git_commits_url":"https://api.github.com/repos/3lvis/Networking/git/commits{/sha}","comments_url":"https://api.github.com/repos/3lvis/Networking/comments{/number}","issue_comment_url":"https://api.github.com/repos/3lvis/Networking/issues/comments{/number}","contents_url":"https://api.github.com/repos/3lvis/Networking/contents/{+path}","compare_url":"https://api.github.com/repos/3lvis/Networking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3lvis/Networking/merges","archive_url":"https://api.github.com/repos/3lvis/Networking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3lvis/Networking/downloads","issues_url":"https://api.github.com/repos/3lvis/Networking/issues{/number}","pulls_url":"https://api.github.com/repos/3lvis/Networking/pulls{/number}","milestones_url":"https://api.github.com/repos/3lvis/Networking/milestones{/number}","notifications_url":"https://api.github.com/repos/3lvis/Networking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3lvis/Networking/labels{/name}","releases_url":"https://api.github.com/repos/3lvis/Networking/releases{/id}","deployments_url":"https://api.github.com/repos/3lvis/Networking/deployments","created_at":"2015-02-22T09:59:21Z","updated_at":"2016-10-13T08:10:44Z","pushed_at":"2016-10-16T22:40:49Z","git_url":"git://github.com/3lvis/Networking.git","ssh_url":"git@github.com:3lvis/Networking.git","clone_url":"https://github.com/3lvis/Networking.git","svn_url":"https://github.com/3lvis/Networking","homepage":"","size":3268,"stargazers_count":926,"watchers_count":926,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":14,"forks":60,"open_issues":14,"watchers":926,"default_branch":"master"}},"base":{"label":"3lvis:master","ref":"master","sha":"6e23d8c093087805d61cae0766ec986cb8ea8f36","user":{"login":"3lvis","id":1088217,"avatar_url":"https://avatars.githubusercontent.com/u/1088217?v=3","gravatar_id":"","url":"https://api.github.com/users/3lvis","html_url":"https://github.com/3lvis","followers_url":"https://api.github.com/users/3lvis/followers","following_url":"https://api.github.com/users/3lvis/following{/other_user}","gists_url":"https://api.github.com/users/3lvis/gists{/gist_id}","starred_url":"https://api.github.com/users/3lvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lvis/subscriptions","organizations_url":"https://api.github.com/users/3lvis/orgs","repos_url":"https://api.github.com/users/3lvis/repos","events_url":"https://api.github.com/users/3lvis/events{/privacy}","received_events_url":"https://api.github.com/users/3lvis/received_events","type":"User","site_admin":false},"repo":{"id":31158982,"name":"Networking","full_name":"3lvis/Networking","owner":{"login":"3lvis","id":1088217,"avatar_url":"https://avatars.githubusercontent.com/u/1088217?v=3","gravatar_id":"","url":"https://api.github.com/users/3lvis","html_url":"https://github.com/3lvis","followers_url":"https://api.github.com/users/3lvis/followers","following_url":"https://api.github.com/users/3lvis/following{/other_user}","gists_url":"https://api.github.com/users/3lvis/gists{/gist_id}","starred_url":"https://api.github.com/users/3lvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lvis/subscriptions","organizations_url":"https://api.github.com/users/3lvis/orgs","repos_url":"https://api.github.com/users/3lvis/repos","events_url":"https://api.github.com/users/3lvis/events{/privacy}","received_events_url":"https://api.github.com/users/3lvis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/3lvis/Networking","description":"Simple HTTP Networking in Swift a NSURLSession wrapper with image caching support","fork":false,"url":"https://api.github.com/repos/3lvis/Networking","forks_url":"https://api.github.com/repos/3lvis/Networking/forks","keys_url":"https://api.github.com/repos/3lvis/Networking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3lvis/Networking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3lvis/Networking/teams","hooks_url":"https://api.github.com/repos/3lvis/Networking/hooks","issue_events_url":"https://api.github.com/repos/3lvis/Networking/issues/events{/number}","events_url":"https://api.github.com/repos/3lvis/Networking/events","assignees_url":"https://api.github.com/repos/3lvis/Networking/assignees{/user}","branches_url":"https://api.github.com/repos/3lvis/Networking/branches{/branch}","tags_url":"https://api.github.com/repos/3lvis/Networking/tags","blobs_url":"https://api.github.com/repos/3lvis/Networking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3lvis/Networking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3lvis/Networking/git/refs{/sha}","trees_url":"https://api.github.com/repos/3lvis/Networking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3lvis/Networking/statuses/{sha}","languages_url":"https://api.github.com/repos/3lvis/Networking/languages","stargazers_url":"https://api.github.com/repos/3lvis/Networking/stargazers","contributors_url":"https://api.github.com/repos/3lvis/Networking/contributors","subscribers_url":"https://api.github.com/repos/3lvis/Networking/subscribers","subscription_url":"https://api.github.com/repos/3lvis/Networking/subscription","commits_url":"https://api.github.com/repos/3lvis/Networking/commits{/sha}","git_commits_url":"https://api.github.com/repos/3lvis/Networking/git/commits{/sha}","comments_url":"https://api.github.com/repos/3lvis/Networking/comments{/number}","issue_comment_url":"https://api.github.com/repos/3lvis/Networking/issues/comments{/number}","contents_url":"https://api.github.com/repos/3lvis/Networking/contents/{+path}","compare_url":"https://api.github.com/repos/3lvis/Networking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3lvis/Networking/merges","archive_url":"https://api.github.com/repos/3lvis/Networking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3lvis/Networking/downloads","issues_url":"https://api.github.com/repos/3lvis/Networking/issues{/number}","pulls_url":"https://api.github.com/repos/3lvis/Networking/pulls{/number}","milestones_url":"https://api.github.com/repos/3lvis/Networking/milestones{/number}","notifications_url":"https://api.github.com/repos/3lvis/Networking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3lvis/Networking/labels{/name}","releases_url":"https://api.github.com/repos/3lvis/Networking/releases{/id}","deployments_url":"https://api.github.com/repos/3lvis/Networking/deployments","created_at":"2015-02-22T09:59:21Z","updated_at":"2016-10-13T08:10:44Z","pushed_at":"2016-10-16T22:40:49Z","git_url":"git://github.com/3lvis/Networking.git","ssh_url":"git@github.com:3lvis/Networking.git","clone_url":"https://github.com/3lvis/Networking.git","svn_url":"https://github.com/3lvis/Networking","homepage":"","size":3268,"stargazers_count":926,"watchers_count":926,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":14,"forks":60,"open_issues":14,"watchers":926,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/3lvis/Networking/pulls/143"},"html":{"href":"https://github.com/3lvis/Networking/pull/143"},"issue":{"href":"https://api.github.com/repos/3lvis/Networking/issues/143"},"comments":{"href":"https://api.github.com/repos/3lvis/Networking/issues/143/comments"},"review_comments":{"href":"https://api.github.com/repos/3lvis/Networking/pulls/143/comments"},"review_comment":{"href":"https://api.github.com/repos/3lvis/Networking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/3lvis/Networking/pulls/143/commits"},"statuses":{"href":"https://api.github.com/repos/3lvis/Networking/statuses/2be1a821493d36fc2c79508434ddb2ec7002930d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"3lvis","id":1088217,"avatar_url":"https://avatars.githubusercontent.com/u/1088217?v=3","gravatar_id":"","url":"https://api.github.com/users/3lvis","html_url":"https://github.com/3lvis","followers_url":"https://api.github.com/users/3lvis/followers","following_url":"https://api.github.com/users/3lvis/following{/other_user}","gists_url":"https://api.github.com/users/3lvis/gists{/gist_id}","starred_url":"https://api.github.com/users/3lvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lvis/subscriptions","organizations_url":"https://api.github.com/users/3lvis/orgs","repos_url":"https://api.github.com/users/3lvis/repos","events_url":"https://api.github.com/users/3lvis/events{/privacy}","received_events_url":"https://api.github.com/users/3lvis/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"3lvis"}}