{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/damonkelley/http-clj/pulls/20","id":84049806,"html_url":"https://github.com/damonkelley/http-clj/pull/20","diff_url":"https://github.com/damonkelley/http-clj/pull/20.diff","patch_url":"https://github.com/damonkelley/http-clj/pull/20.patch","issue_url":"https://api.github.com/repos/damonkelley/http-clj/issues/20","number":20,"state":"open","locked":false,"title":"Basic Authentication","user":{"login":"damonkelley","id":4121849,"avatar_url":"https://avatars.githubusercontent.com/u/4121849?v=3","gravatar_id":"","url":"https://api.github.com/users/damonkelley","html_url":"https://github.com/damonkelley","followers_url":"https://api.github.com/users/damonkelley/followers","following_url":"https://api.github.com/users/damonkelley/following{/other_user}","gists_url":"https://api.github.com/users/damonkelley/gists{/gist_id}","starred_url":"https://api.github.com/users/damonkelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damonkelley/subscriptions","organizations_url":"https://api.github.com/users/damonkelley/orgs","repos_url":"https://api.github.com/users/damonkelley/repos","events_url":"https://api.github.com/users/damonkelley/events{/privacy}","received_events_url":"https://api.github.com/users/damonkelley/received_events","type":"User","site_admin":false},"body":"This adds an `auth` handler which decorate another handler. If authentication is succesful, the request is dispatched to the handler, otherwise it responds with a `401`.\r\n\r\nAdditionally, I modified the response formatter to accept keywords or strings as header field names.\r\n\r\n#### Cob Spec\r\n\r\nNow Basic Auth Passes 🎉 \r\n![image](https://cloud.githubusercontent.com/assets/4121849/18259335/889808be-73a8-11e6-850c-2608eee53be2.png)\r\n","created_at":"2016-09-06T01:40:49Z","updated_at":"2016-09-06T01:40:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/damonkelley/http-clj/pulls/20/commits","review_comments_url":"https://api.github.com/repos/damonkelley/http-clj/pulls/20/comments","review_comment_url":"https://api.github.com/repos/damonkelley/http-clj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/damonkelley/http-clj/issues/20/comments","statuses_url":"https://api.github.com/repos/damonkelley/http-clj/statuses/0cd046a2336064988d7a241f1d51ff9210075833","head":{"label":"damonkelley:basic-auth","ref":"basic-auth","sha":"0cd046a2336064988d7a241f1d51ff9210075833","user":{"login":"damonkelley","id":4121849,"avatar_url":"https://avatars.githubusercontent.com/u/4121849?v=3","gravatar_id":"","url":"https://api.github.com/users/damonkelley","html_url":"https://github.com/damonkelley","followers_url":"https://api.github.com/users/damonkelley/followers","following_url":"https://api.github.com/users/damonkelley/following{/other_user}","gists_url":"https://api.github.com/users/damonkelley/gists{/gist_id}","starred_url":"https://api.github.com/users/damonkelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damonkelley/subscriptions","organizations_url":"https://api.github.com/users/damonkelley/orgs","repos_url":"https://api.github.com/users/damonkelley/repos","events_url":"https://api.github.com/users/damonkelley/events{/privacy}","received_events_url":"https://api.github.com/users/damonkelley/received_events","type":"User","site_admin":false},"repo":{"id":64511341,"name":"http-clj","full_name":"damonkelley/http-clj","owner":{"login":"damonkelley","id":4121849,"avatar_url":"https://avatars.githubusercontent.com/u/4121849?v=3","gravatar_id":"","url":"https://api.github.com/users/damonkelley","html_url":"https://github.com/damonkelley","followers_url":"https://api.github.com/users/damonkelley/followers","following_url":"https://api.github.com/users/damonkelley/following{/other_user}","gists_url":"https://api.github.com/users/damonkelley/gists{/gist_id}","starred_url":"https://api.github.com/users/damonkelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damonkelley/subscriptions","organizations_url":"https://api.github.com/users/damonkelley/orgs","repos_url":"https://api.github.com/users/damonkelley/repos","events_url":"https://api.github.com/users/damonkelley/events{/privacy}","received_events_url":"https://api.github.com/users/damonkelley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damonkelley/http-clj","description":null,"fork":false,"url":"https://api.github.com/repos/damonkelley/http-clj","forks_url":"https://api.github.com/repos/damonkelley/http-clj/forks","keys_url":"https://api.github.com/repos/damonkelley/http-clj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damonkelley/http-clj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damonkelley/http-clj/teams","hooks_url":"https://api.github.com/repos/damonkelley/http-clj/hooks","issue_events_url":"https://api.github.com/repos/damonkelley/http-clj/issues/events{/number}","events_url":"https://api.github.com/repos/damonkelley/http-clj/events","assignees_url":"https://api.github.com/repos/damonkelley/http-clj/assignees{/user}","branches_url":"https://api.github.com/repos/damonkelley/http-clj/branches{/branch}","tags_url":"https://api.github.com/repos/damonkelley/http-clj/tags","blobs_url":"https://api.github.com/repos/damonkelley/http-clj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damonkelley/http-clj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damonkelley/http-clj/git/refs{/sha}","trees_url":"https://api.github.com/repos/damonkelley/http-clj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damonkelley/http-clj/statuses/{sha}","languages_url":"https://api.github.com/repos/damonkelley/http-clj/languages","stargazers_url":"https://api.github.com/repos/damonkelley/http-clj/stargazers","contributors_url":"https://api.github.com/repos/damonkelley/http-clj/contributors","subscribers_url":"https://api.github.com/repos/damonkelley/http-clj/subscribers","subscription_url":"https://api.github.com/repos/damonkelley/http-clj/subscription","commits_url":"https://api.github.com/repos/damonkelley/http-clj/commits{/sha}","git_commits_url":"https://api.github.com/repos/damonkelley/http-clj/git/commits{/sha}","comments_url":"https://api.github.com/repos/damonkelley/http-clj/comments{/number}","issue_comment_url":"https://api.github.com/repos/damonkelley/http-clj/issues/comments{/number}","contents_url":"https://api.github.com/repos/damonkelley/http-clj/contents/{+path}","compare_url":"https://api.github.com/repos/damonkelley/http-clj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damonkelley/http-clj/merges","archive_url":"https://api.github.com/repos/damonkelley/http-clj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damonkelley/http-clj/downloads","issues_url":"https://api.github.com/repos/damonkelley/http-clj/issues{/number}","pulls_url":"https://api.github.com/repos/damonkelley/http-clj/pulls{/number}","milestones_url":"https://api.github.com/repos/damonkelley/http-clj/milestones{/number}","notifications_url":"https://api.github.com/repos/damonkelley/http-clj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damonkelley/http-clj/labels{/name}","releases_url":"https://api.github.com/repos/damonkelley/http-clj/releases{/id}","deployments_url":"https://api.github.com/repos/damonkelley/http-clj/deployments","created_at":"2016-07-29T21:25:44Z","updated_at":"2016-08-01T17:15:49Z","pushed_at":"2016-09-06T01:25:17Z","git_url":"git://github.com/damonkelley/http-clj.git","ssh_url":"git@github.com:damonkelley/http-clj.git","clone_url":"https://github.com/damonkelley/http-clj.git","svn_url":"https://github.com/damonkelley/http-clj","homepage":null,"size":208,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"damonkelley:master","ref":"master","sha":"72cfd2f8194d11ac381c893e635d6bb1725d7c49","user":{"login":"damonkelley","id":4121849,"avatar_url":"https://avatars.githubusercontent.com/u/4121849?v=3","gravatar_id":"","url":"https://api.github.com/users/damonkelley","html_url":"https://github.com/damonkelley","followers_url":"https://api.github.com/users/damonkelley/followers","following_url":"https://api.github.com/users/damonkelley/following{/other_user}","gists_url":"https://api.github.com/users/damonkelley/gists{/gist_id}","starred_url":"https://api.github.com/users/damonkelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damonkelley/subscriptions","organizations_url":"https://api.github.com/users/damonkelley/orgs","repos_url":"https://api.github.com/users/damonkelley/repos","events_url":"https://api.github.com/users/damonkelley/events{/privacy}","received_events_url":"https://api.github.com/users/damonkelley/received_events","type":"User","site_admin":false},"repo":{"id":64511341,"name":"http-clj","full_name":"damonkelley/http-clj","owner":{"login":"damonkelley","id":4121849,"avatar_url":"https://avatars.githubusercontent.com/u/4121849?v=3","gravatar_id":"","url":"https://api.github.com/users/damonkelley","html_url":"https://github.com/damonkelley","followers_url":"https://api.github.com/users/damonkelley/followers","following_url":"https://api.github.com/users/damonkelley/following{/other_user}","gists_url":"https://api.github.com/users/damonkelley/gists{/gist_id}","starred_url":"https://api.github.com/users/damonkelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damonkelley/subscriptions","organizations_url":"https://api.github.com/users/damonkelley/orgs","repos_url":"https://api.github.com/users/damonkelley/repos","events_url":"https://api.github.com/users/damonkelley/events{/privacy}","received_events_url":"https://api.github.com/users/damonkelley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damonkelley/http-clj","description":null,"fork":false,"url":"https://api.github.com/repos/damonkelley/http-clj","forks_url":"https://api.github.com/repos/damonkelley/http-clj/forks","keys_url":"https://api.github.com/repos/damonkelley/http-clj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damonkelley/http-clj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damonkelley/http-clj/teams","hooks_url":"https://api.github.com/repos/damonkelley/http-clj/hooks","issue_events_url":"https://api.github.com/repos/damonkelley/http-clj/issues/events{/number}","events_url":"https://api.github.com/repos/damonkelley/http-clj/events","assignees_url":"https://api.github.com/repos/damonkelley/http-clj/assignees{/user}","branches_url":"https://api.github.com/repos/damonkelley/http-clj/branches{/branch}","tags_url":"https://api.github.com/repos/damonkelley/http-clj/tags","blobs_url":"https://api.github.com/repos/damonkelley/http-clj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damonkelley/http-clj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damonkelley/http-clj/git/refs{/sha}","trees_url":"https://api.github.com/repos/damonkelley/http-clj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damonkelley/http-clj/statuses/{sha}","languages_url":"https://api.github.com/repos/damonkelley/http-clj/languages","stargazers_url":"https://api.github.com/repos/damonkelley/http-clj/stargazers","contributors_url":"https://api.github.com/repos/damonkelley/http-clj/contributors","subscribers_url":"https://api.github.com/repos/damonkelley/http-clj/subscribers","subscription_url":"https://api.github.com/repos/damonkelley/http-clj/subscription","commits_url":"https://api.github.com/repos/damonkelley/http-clj/commits{/sha}","git_commits_url":"https://api.github.com/repos/damonkelley/http-clj/git/commits{/sha}","comments_url":"https://api.github.com/repos/damonkelley/http-clj/comments{/number}","issue_comment_url":"https://api.github.com/repos/damonkelley/http-clj/issues/comments{/number}","contents_url":"https://api.github.com/repos/damonkelley/http-clj/contents/{+path}","compare_url":"https://api.github.com/repos/damonkelley/http-clj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damonkelley/http-clj/merges","archive_url":"https://api.github.com/repos/damonkelley/http-clj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damonkelley/http-clj/downloads","issues_url":"https://api.github.com/repos/damonkelley/http-clj/issues{/number}","pulls_url":"https://api.github.com/repos/damonkelley/http-clj/pulls{/number}","milestones_url":"https://api.github.com/repos/damonkelley/http-clj/milestones{/number}","notifications_url":"https://api.github.com/repos/damonkelley/http-clj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damonkelley/http-clj/labels{/name}","releases_url":"https://api.github.com/repos/damonkelley/http-clj/releases{/id}","deployments_url":"https://api.github.com/repos/damonkelley/http-clj/deployments","created_at":"2016-07-29T21:25:44Z","updated_at":"2016-08-01T17:15:49Z","pushed_at":"2016-09-06T01:25:17Z","git_url":"git://github.com/damonkelley/http-clj.git","ssh_url":"git@github.com:damonkelley/http-clj.git","clone_url":"https://github.com/damonkelley/http-clj.git","svn_url":"https://github.com/damonkelley/http-clj","homepage":null,"size":208,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/damonkelley/http-clj/pulls/20"},"html":{"href":"https://github.com/damonkelley/http-clj/pull/20"},"issue":{"href":"https://api.github.com/repos/damonkelley/http-clj/issues/20"},"comments":{"href":"https://api.github.com/repos/damonkelley/http-clj/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/damonkelley/http-clj/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/damonkelley/http-clj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/damonkelley/http-clj/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/damonkelley/http-clj/statuses/0cd046a2336064988d7a241f1d51ff9210075833"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":90,"deletions":31,"changed_files":10}}
{"actor":{"display_login":"damonkelley"}}