{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/lincolnloop/amygdala/pulls/15","id":32374613,"html_url":"https://github.com/lincolnloop/amygdala/pull/15","diff_url":"https://github.com/lincolnloop/amygdala/pull/15.diff","patch_url":"https://github.com/lincolnloop/amygdala/pull/15.patch","issue_url":"https://api.github.com/repos/lincolnloop/amygdala/issues/15","number":15,"state":"closed","locked":false,"title":"headers can now take functions","user":{"login":"frnk94","id":11723501,"avatar_url":"https://avatars.githubusercontent.com/u/11723501?v=3","gravatar_id":"","url":"https://api.github.com/users/frnk94","html_url":"https://github.com/frnk94","followers_url":"https://api.github.com/users/frnk94/followers","following_url":"https://api.github.com/users/frnk94/following{/other_user}","gists_url":"https://api.github.com/users/frnk94/gists{/gist_id}","starred_url":"https://api.github.com/users/frnk94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frnk94/subscriptions","organizations_url":"https://api.github.com/users/frnk94/orgs","repos_url":"https://api.github.com/users/frnk94/repos","events_url":"https://api.github.com/users/frnk94/events{/privacy}","received_events_url":"https://api.github.com/users/frnk94/received_events","type":"User","site_admin":false},"body":"## Reason of the fork\r\nI wanted to pass volatile headers to the schema ex: localStorage.token. The function made it possible !","created_at":"2015-03-31T22:59:07Z","updated_at":"2015-04-15T17:07:22Z","closed_at":"2015-04-15T17:07:22Z","merged_at":"2015-04-15T17:07:22Z","merge_commit_sha":"bb7ae1a249036f157d93f16c48a10132d1ba5fc7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lincolnloop/amygdala/pulls/15/commits","review_comments_url":"https://api.github.com/repos/lincolnloop/amygdala/pulls/15/comments","review_comment_url":"https://api.github.com/repos/lincolnloop/amygdala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lincolnloop/amygdala/issues/15/comments","statuses_url":"https://api.github.com/repos/lincolnloop/amygdala/statuses/dc2cdbaa63f83d41a5c7569a6099fc3d2adecb79","head":{"label":"frnk94:headers-functions","ref":"headers-functions","sha":"dc2cdbaa63f83d41a5c7569a6099fc3d2adecb79","user":{"login":"frnk94","id":11723501,"avatar_url":"https://avatars.githubusercontent.com/u/11723501?v=3","gravatar_id":"","url":"https://api.github.com/users/frnk94","html_url":"https://github.com/frnk94","followers_url":"https://api.github.com/users/frnk94/followers","following_url":"https://api.github.com/users/frnk94/following{/other_user}","gists_url":"https://api.github.com/users/frnk94/gists{/gist_id}","starred_url":"https://api.github.com/users/frnk94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frnk94/subscriptions","organizations_url":"https://api.github.com/users/frnk94/orgs","repos_url":"https://api.github.com/users/frnk94/repos","events_url":"https://api.github.com/users/frnk94/events{/privacy}","received_events_url":"https://api.github.com/users/frnk94/received_events","type":"User","site_admin":false},"repo":{"id":33199157,"name":"amygdala","full_name":"frnk94/amygdala","owner":{"login":"frnk94","id":11723501,"avatar_url":"https://avatars.githubusercontent.com/u/11723501?v=3","gravatar_id":"","url":"https://api.github.com/users/frnk94","html_url":"https://github.com/frnk94","followers_url":"https://api.github.com/users/frnk94/followers","following_url":"https://api.github.com/users/frnk94/following{/other_user}","gists_url":"https://api.github.com/users/frnk94/gists{/gist_id}","starred_url":"https://api.github.com/users/frnk94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frnk94/subscriptions","organizations_url":"https://api.github.com/users/frnk94/orgs","repos_url":"https://api.github.com/users/frnk94/repos","events_url":"https://api.github.com/users/frnk94/events{/privacy}","received_events_url":"https://api.github.com/users/frnk94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frnk94/amygdala","description":"RESTful HTTP client for JavaScript powered web applications","fork":true,"url":"https://api.github.com/repos/frnk94/amygdala","forks_url":"https://api.github.com/repos/frnk94/amygdala/forks","keys_url":"https://api.github.com/repos/frnk94/amygdala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frnk94/amygdala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frnk94/amygdala/teams","hooks_url":"https://api.github.com/repos/frnk94/amygdala/hooks","issue_events_url":"https://api.github.com/repos/frnk94/amygdala/issues/events{/number}","events_url":"https://api.github.com/repos/frnk94/amygdala/events","assignees_url":"https://api.github.com/repos/frnk94/amygdala/assignees{/user}","branches_url":"https://api.github.com/repos/frnk94/amygdala/branches{/branch}","tags_url":"https://api.github.com/repos/frnk94/amygdala/tags","blobs_url":"https://api.github.com/repos/frnk94/amygdala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frnk94/amygdala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frnk94/amygdala/git/refs{/sha}","trees_url":"https://api.github.com/repos/frnk94/amygdala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frnk94/amygdala/statuses/{sha}","languages_url":"https://api.github.com/repos/frnk94/amygdala/languages","stargazers_url":"https://api.github.com/repos/frnk94/amygdala/stargazers","contributors_url":"https://api.github.com/repos/frnk94/amygdala/contributors","subscribers_url":"https://api.github.com/repos/frnk94/amygdala/subscribers","subscription_url":"https://api.github.com/repos/frnk94/amygdala/subscription","commits_url":"https://api.github.com/repos/frnk94/amygdala/commits{/sha}","git_commits_url":"https://api.github.com/repos/frnk94/amygdala/git/commits{/sha}","comments_url":"https://api.github.com/repos/frnk94/amygdala/comments{/number}","issue_comment_url":"https://api.github.com/repos/frnk94/amygdala/issues/comments{/number}","contents_url":"https://api.github.com/repos/frnk94/amygdala/contents/{+path}","compare_url":"https://api.github.com/repos/frnk94/amygdala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frnk94/amygdala/merges","archive_url":"https://api.github.com/repos/frnk94/amygdala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frnk94/amygdala/downloads","issues_url":"https://api.github.com/repos/frnk94/amygdala/issues{/number}","pulls_url":"https://api.github.com/repos/frnk94/amygdala/pulls{/number}","milestones_url":"https://api.github.com/repos/frnk94/amygdala/milestones{/number}","notifications_url":"https://api.github.com/repos/frnk94/amygdala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frnk94/amygdala/labels{/name}","releases_url":"https://api.github.com/repos/frnk94/amygdala/releases{/id}","created_at":"2015-03-31T17:20:41Z","updated_at":"2015-03-31T17:20:42Z","pushed_at":"2015-03-31T22:53:28Z","git_url":"git://github.com/frnk94/amygdala.git","ssh_url":"git@github.com:frnk94/amygdala.git","clone_url":"https://github.com/frnk94/amygdala.git","svn_url":"https://github.com/frnk94/amygdala","homepage":"","size":367,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lincolnloop:master","ref":"master","sha":"1446fd3cb5f223cc51cec9070af79be691c82329","user":{"login":"lincolnloop","id":1964,"avatar_url":"https://avatars.githubusercontent.com/u/1964?v=3","gravatar_id":"","url":"https://api.github.com/users/lincolnloop","html_url":"https://github.com/lincolnloop","followers_url":"https://api.github.com/users/lincolnloop/followers","following_url":"https://api.github.com/users/lincolnloop/following{/other_user}","gists_url":"https://api.github.com/users/lincolnloop/gists{/gist_id}","starred_url":"https://api.github.com/users/lincolnloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lincolnloop/subscriptions","organizations_url":"https://api.github.com/users/lincolnloop/orgs","repos_url":"https://api.github.com/users/lincolnloop/repos","events_url":"https://api.github.com/users/lincolnloop/events{/privacy}","received_events_url":"https://api.github.com/users/lincolnloop/received_events","type":"Organization","site_admin":false},"repo":{"id":17662996,"name":"amygdala","full_name":"lincolnloop/amygdala","owner":{"login":"lincolnloop","id":1964,"avatar_url":"https://avatars.githubusercontent.com/u/1964?v=3","gravatar_id":"","url":"https://api.github.com/users/lincolnloop","html_url":"https://github.com/lincolnloop","followers_url":"https://api.github.com/users/lincolnloop/followers","following_url":"https://api.github.com/users/lincolnloop/following{/other_user}","gists_url":"https://api.github.com/users/lincolnloop/gists{/gist_id}","starred_url":"https://api.github.com/users/lincolnloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lincolnloop/subscriptions","organizations_url":"https://api.github.com/users/lincolnloop/orgs","repos_url":"https://api.github.com/users/lincolnloop/repos","events_url":"https://api.github.com/users/lincolnloop/events{/privacy}","received_events_url":"https://api.github.com/users/lincolnloop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lincolnloop/amygdala","description":"RESTful HTTP client for JavaScript powered web applications","fork":false,"url":"https://api.github.com/repos/lincolnloop/amygdala","forks_url":"https://api.github.com/repos/lincolnloop/amygdala/forks","keys_url":"https://api.github.com/repos/lincolnloop/amygdala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lincolnloop/amygdala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lincolnloop/amygdala/teams","hooks_url":"https://api.github.com/repos/lincolnloop/amygdala/hooks","issue_events_url":"https://api.github.com/repos/lincolnloop/amygdala/issues/events{/number}","events_url":"https://api.github.com/repos/lincolnloop/amygdala/events","assignees_url":"https://api.github.com/repos/lincolnloop/amygdala/assignees{/user}","branches_url":"https://api.github.com/repos/lincolnloop/amygdala/branches{/branch}","tags_url":"https://api.github.com/repos/lincolnloop/amygdala/tags","blobs_url":"https://api.github.com/repos/lincolnloop/amygdala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lincolnloop/amygdala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lincolnloop/amygdala/git/refs{/sha}","trees_url":"https://api.github.com/repos/lincolnloop/amygdala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lincolnloop/amygdala/statuses/{sha}","languages_url":"https://api.github.com/repos/lincolnloop/amygdala/languages","stargazers_url":"https://api.github.com/repos/lincolnloop/amygdala/stargazers","contributors_url":"https://api.github.com/repos/lincolnloop/amygdala/contributors","subscribers_url":"https://api.github.com/repos/lincolnloop/amygdala/subscribers","subscription_url":"https://api.github.com/repos/lincolnloop/amygdala/subscription","commits_url":"https://api.github.com/repos/lincolnloop/amygdala/commits{/sha}","git_commits_url":"https://api.github.com/repos/lincolnloop/amygdala/git/commits{/sha}","comments_url":"https://api.github.com/repos/lincolnloop/amygdala/comments{/number}","issue_comment_url":"https://api.github.com/repos/lincolnloop/amygdala/issues/comments{/number}","contents_url":"https://api.github.com/repos/lincolnloop/amygdala/contents/{+path}","compare_url":"https://api.github.com/repos/lincolnloop/amygdala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lincolnloop/amygdala/merges","archive_url":"https://api.github.com/repos/lincolnloop/amygdala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lincolnloop/amygdala/downloads","issues_url":"https://api.github.com/repos/lincolnloop/amygdala/issues{/number}","pulls_url":"https://api.github.com/repos/lincolnloop/amygdala/pulls{/number}","milestones_url":"https://api.github.com/repos/lincolnloop/amygdala/milestones{/number}","notifications_url":"https://api.github.com/repos/lincolnloop/amygdala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lincolnloop/amygdala/labels{/name}","releases_url":"https://api.github.com/repos/lincolnloop/amygdala/releases{/id}","created_at":"2014-03-12T10:21:02Z","updated_at":"2015-04-15T17:07:22Z","pushed_at":"2015-04-15T17:07:22Z","git_url":"git://github.com/lincolnloop/amygdala.git","ssh_url":"git@github.com:lincolnloop/amygdala.git","clone_url":"https://github.com/lincolnloop/amygdala.git","svn_url":"https://github.com/lincolnloop/amygdala","homepage":"","size":854,"stargazers_count":311,"watchers_count":311,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":4,"forks":14,"open_issues":4,"watchers":311,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lincolnloop/amygdala/pulls/15"},"html":{"href":"https://github.com/lincolnloop/amygdala/pull/15"},"issue":{"href":"https://api.github.com/repos/lincolnloop/amygdala/issues/15"},"comments":{"href":"https://api.github.com/repos/lincolnloop/amygdala/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/lincolnloop/amygdala/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/lincolnloop/amygdala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lincolnloop/amygdala/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/lincolnloop/amygdala/statuses/dc2cdbaa63f83d41a5c7569a6099fc3d2adecb79"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mlouro","id":85291,"avatar_url":"https://avatars.githubusercontent.com/u/85291?v=3","gravatar_id":"","url":"https://api.github.com/users/mlouro","html_url":"https://github.com/mlouro","followers_url":"https://api.github.com/users/mlouro/followers","following_url":"https://api.github.com/users/mlouro/following{/other_user}","gists_url":"https://api.github.com/users/mlouro/gists{/gist_id}","starred_url":"https://api.github.com/users/mlouro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlouro/subscriptions","organizations_url":"https://api.github.com/users/mlouro/orgs","repos_url":"https://api.github.com/users/mlouro/repos","events_url":"https://api.github.com/users/mlouro/events{/privacy}","received_events_url":"https://api.github.com/users/mlouro/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":1,"changed_files":1}}