{"action":"opened","number":670,"pull_request":{"url":"https://api.github.com/repos/http4s/http4s/pulls/670","id":81390050,"html_url":"https://github.com/http4s/http4s/pull/670","diff_url":"https://github.com/http4s/http4s/pull/670.diff","patch_url":"https://github.com/http4s/http4s/pull/670.patch","issue_url":"https://api.github.com/repos/http4s/http4s/issues/670","number":670,"state":"open","locked":false,"title":"Date header improvements","user":{"login":"cquiroz","id":3615303,"avatar_url":"https://avatars.githubusercontent.com/u/3615303?v=3","gravatar_id":"","url":"https://api.github.com/users/cquiroz","html_url":"https://github.com/cquiroz","followers_url":"https://api.github.com/users/cquiroz/followers","following_url":"https://api.github.com/users/cquiroz/following{/other_user}","gists_url":"https://api.github.com/users/cquiroz/gists{/gist_id}","starred_url":"https://api.github.com/users/cquiroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cquiroz/subscriptions","organizations_url":"https://api.github.com/users/cquiroz/orgs","repos_url":"https://api.github.com/users/cquiroz/repos","events_url":"https://api.github.com/users/cquiroz/events{/privacy}","received_events_url":"https://api.github.com/users/cquiroz/received_events","type":"User","site_admin":false},"body":"This PR brings some improvements to the Date header:\r\n\r\n* It fixes #669 writing the Date header always using GMT\r\n* It improves the parser of dates for the extra formats indicated in RFC 2616:\r\n```\r\n   HTTP applications have historically allowed three different formats\r\n   for the representation of date/time stamps:\r\n\r\n      Sun, 06 Nov 1994 08:49:37 GMT  ; RFC 822, updated by RFC 1123\r\n      Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036\r\n      Sun Nov  6 08:49:37 1994       ; ANSI C's asctime() format\r\n```\r\n* It contains some small fixes to code found while doing the PR, essentially some typos and unnecessary imports","created_at":"2016-08-15T23:01:30Z","updated_at":"2016-08-15T23:01:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/http4s/http4s/pulls/670/commits","review_comments_url":"https://api.github.com/repos/http4s/http4s/pulls/670/comments","review_comment_url":"https://api.github.com/repos/http4s/http4s/pulls/comments{/number}","comments_url":"https://api.github.com/repos/http4s/http4s/issues/670/comments","statuses_url":"https://api.github.com/repos/http4s/http4s/statuses/1f0fd5f42c46a3b3aeb4c653846b017d85901226","head":{"label":"cquiroz:date-header","ref":"date-header","sha":"1f0fd5f42c46a3b3aeb4c653846b017d85901226","user":{"login":"cquiroz","id":3615303,"avatar_url":"https://avatars.githubusercontent.com/u/3615303?v=3","gravatar_id":"","url":"https://api.github.com/users/cquiroz","html_url":"https://github.com/cquiroz","followers_url":"https://api.github.com/users/cquiroz/followers","following_url":"https://api.github.com/users/cquiroz/following{/other_user}","gists_url":"https://api.github.com/users/cquiroz/gists{/gist_id}","starred_url":"https://api.github.com/users/cquiroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cquiroz/subscriptions","organizations_url":"https://api.github.com/users/cquiroz/orgs","repos_url":"https://api.github.com/users/cquiroz/repos","events_url":"https://api.github.com/users/cquiroz/events{/privacy}","received_events_url":"https://api.github.com/users/cquiroz/received_events","type":"User","site_admin":false},"repo":{"id":37417601,"name":"http4s","full_name":"cquiroz/http4s","owner":{"login":"cquiroz","id":3615303,"avatar_url":"https://avatars.githubusercontent.com/u/3615303?v=3","gravatar_id":"","url":"https://api.github.com/users/cquiroz","html_url":"https://github.com/cquiroz","followers_url":"https://api.github.com/users/cquiroz/followers","following_url":"https://api.github.com/users/cquiroz/following{/other_user}","gists_url":"https://api.github.com/users/cquiroz/gists{/gist_id}","starred_url":"https://api.github.com/users/cquiroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cquiroz/subscriptions","organizations_url":"https://api.github.com/users/cquiroz/orgs","repos_url":"https://api.github.com/users/cquiroz/repos","events_url":"https://api.github.com/users/cquiroz/events{/privacy}","received_events_url":"https://api.github.com/users/cquiroz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cquiroz/http4s","description":"A minimal, idiomatic Scala interface for HTTP","fork":true,"url":"https://api.github.com/repos/cquiroz/http4s","forks_url":"https://api.github.com/repos/cquiroz/http4s/forks","keys_url":"https://api.github.com/repos/cquiroz/http4s/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cquiroz/http4s/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cquiroz/http4s/teams","hooks_url":"https://api.github.com/repos/cquiroz/http4s/hooks","issue_events_url":"https://api.github.com/repos/cquiroz/http4s/issues/events{/number}","events_url":"https://api.github.com/repos/cquiroz/http4s/events","assignees_url":"https://api.github.com/repos/cquiroz/http4s/assignees{/user}","branches_url":"https://api.github.com/repos/cquiroz/http4s/branches{/branch}","tags_url":"https://api.github.com/repos/cquiroz/http4s/tags","blobs_url":"https://api.github.com/repos/cquiroz/http4s/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cquiroz/http4s/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cquiroz/http4s/git/refs{/sha}","trees_url":"https://api.github.com/repos/cquiroz/http4s/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cquiroz/http4s/statuses/{sha}","languages_url":"https://api.github.com/repos/cquiroz/http4s/languages","stargazers_url":"https://api.github.com/repos/cquiroz/http4s/stargazers","contributors_url":"https://api.github.com/repos/cquiroz/http4s/contributors","subscribers_url":"https://api.github.com/repos/cquiroz/http4s/subscribers","subscription_url":"https://api.github.com/repos/cquiroz/http4s/subscription","commits_url":"https://api.github.com/repos/cquiroz/http4s/commits{/sha}","git_commits_url":"https://api.github.com/repos/cquiroz/http4s/git/commits{/sha}","comments_url":"https://api.github.com/repos/cquiroz/http4s/comments{/number}","issue_comment_url":"https://api.github.com/repos/cquiroz/http4s/issues/comments{/number}","contents_url":"https://api.github.com/repos/cquiroz/http4s/contents/{+path}","compare_url":"https://api.github.com/repos/cquiroz/http4s/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cquiroz/http4s/merges","archive_url":"https://api.github.com/repos/cquiroz/http4s/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cquiroz/http4s/downloads","issues_url":"https://api.github.com/repos/cquiroz/http4s/issues{/number}","pulls_url":"https://api.github.com/repos/cquiroz/http4s/pulls{/number}","milestones_url":"https://api.github.com/repos/cquiroz/http4s/milestones{/number}","notifications_url":"https://api.github.com/repos/cquiroz/http4s/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cquiroz/http4s/labels{/name}","releases_url":"https://api.github.com/repos/cquiroz/http4s/releases{/id}","deployments_url":"https://api.github.com/repos/cquiroz/http4s/deployments","created_at":"2015-06-14T15:24:21Z","updated_at":"2015-06-14T15:24:22Z","pushed_at":"2016-08-15T22:58:50Z","git_url":"git://github.com/cquiroz/http4s.git","ssh_url":"git@github.com:cquiroz/http4s.git","clone_url":"https://github.com/cquiroz/http4s.git","svn_url":"https://github.com/cquiroz/http4s","homepage":"http://http4s.org/","size":10455,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"http4s:master","ref":"master","sha":"4fd8764995a1bf7efdbca79b25d182efa4637dde","user":{"login":"http4s","id":1527492,"avatar_url":"https://avatars.githubusercontent.com/u/1527492?v=3","gravatar_id":"","url":"https://api.github.com/users/http4s","html_url":"https://github.com/http4s","followers_url":"https://api.github.com/users/http4s/followers","following_url":"https://api.github.com/users/http4s/following{/other_user}","gists_url":"https://api.github.com/users/http4s/gists{/gist_id}","starred_url":"https://api.github.com/users/http4s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/http4s/subscriptions","organizations_url":"https://api.github.com/users/http4s/orgs","repos_url":"https://api.github.com/users/http4s/repos","events_url":"https://api.github.com/users/http4s/events{/privacy}","received_events_url":"https://api.github.com/users/http4s/received_events","type":"Organization","site_admin":false},"repo":{"id":3692188,"name":"http4s","full_name":"http4s/http4s","owner":{"login":"http4s","id":1527492,"avatar_url":"https://avatars.githubusercontent.com/u/1527492?v=3","gravatar_id":"","url":"https://api.github.com/users/http4s","html_url":"https://github.com/http4s","followers_url":"https://api.github.com/users/http4s/followers","following_url":"https://api.github.com/users/http4s/following{/other_user}","gists_url":"https://api.github.com/users/http4s/gists{/gist_id}","starred_url":"https://api.github.com/users/http4s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/http4s/subscriptions","organizations_url":"https://api.github.com/users/http4s/orgs","repos_url":"https://api.github.com/users/http4s/repos","events_url":"https://api.github.com/users/http4s/events{/privacy}","received_events_url":"https://api.github.com/users/http4s/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/http4s/http4s","description":"A minimal, idiomatic Scala interface for HTTP","fork":false,"url":"https://api.github.com/repos/http4s/http4s","forks_url":"https://api.github.com/repos/http4s/http4s/forks","keys_url":"https://api.github.com/repos/http4s/http4s/keys{/key_id}","collaborators_url":"https://api.github.com/repos/http4s/http4s/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/http4s/http4s/teams","hooks_url":"https://api.github.com/repos/http4s/http4s/hooks","issue_events_url":"https://api.github.com/repos/http4s/http4s/issues/events{/number}","events_url":"https://api.github.com/repos/http4s/http4s/events","assignees_url":"https://api.github.com/repos/http4s/http4s/assignees{/user}","branches_url":"https://api.github.com/repos/http4s/http4s/branches{/branch}","tags_url":"https://api.github.com/repos/http4s/http4s/tags","blobs_url":"https://api.github.com/repos/http4s/http4s/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/http4s/http4s/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/http4s/http4s/git/refs{/sha}","trees_url":"https://api.github.com/repos/http4s/http4s/git/trees{/sha}","statuses_url":"https://api.github.com/repos/http4s/http4s/statuses/{sha}","languages_url":"https://api.github.com/repos/http4s/http4s/languages","stargazers_url":"https://api.github.com/repos/http4s/http4s/stargazers","contributors_url":"https://api.github.com/repos/http4s/http4s/contributors","subscribers_url":"https://api.github.com/repos/http4s/http4s/subscribers","subscription_url":"https://api.github.com/repos/http4s/http4s/subscription","commits_url":"https://api.github.com/repos/http4s/http4s/commits{/sha}","git_commits_url":"https://api.github.com/repos/http4s/http4s/git/commits{/sha}","comments_url":"https://api.github.com/repos/http4s/http4s/comments{/number}","issue_comment_url":"https://api.github.com/repos/http4s/http4s/issues/comments{/number}","contents_url":"https://api.github.com/repos/http4s/http4s/contents/{+path}","compare_url":"https://api.github.com/repos/http4s/http4s/compare/{base}...{head}","merges_url":"https://api.github.com/repos/http4s/http4s/merges","archive_url":"https://api.github.com/repos/http4s/http4s/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/http4s/http4s/downloads","issues_url":"https://api.github.com/repos/http4s/http4s/issues{/number}","pulls_url":"https://api.github.com/repos/http4s/http4s/pulls{/number}","milestones_url":"https://api.github.com/repos/http4s/http4s/milestones{/number}","notifications_url":"https://api.github.com/repos/http4s/http4s/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/http4s/http4s/labels{/name}","releases_url":"https://api.github.com/repos/http4s/http4s/releases{/id}","deployments_url":"https://api.github.com/repos/http4s/http4s/deployments","created_at":"2012-03-12T04:41:20Z","updated_at":"2016-08-15T12:53:07Z","pushed_at":"2016-08-15T16:14:02Z","git_url":"git://github.com/http4s/http4s.git","ssh_url":"git@github.com:http4s/http4s.git","clone_url":"https://github.com/http4s/http4s.git","svn_url":"https://github.com/http4s/http4s","homepage":"http://http4s.org/","size":20606,"stargazers_count":527,"watchers_count":527,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":118,"mirror_url":null,"open_issues_count":66,"forks":118,"open_issues":66,"watchers":527,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/http4s/http4s/pulls/670"},"html":{"href":"https://github.com/http4s/http4s/pull/670"},"issue":{"href":"https://api.github.com/repos/http4s/http4s/issues/670"},"comments":{"href":"https://api.github.com/repos/http4s/http4s/issues/670/comments"},"review_comments":{"href":"https://api.github.com/repos/http4s/http4s/pulls/670/comments"},"review_comment":{"href":"https://api.github.com/repos/http4s/http4s/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/http4s/http4s/pulls/670/commits"},"statuses":{"href":"https://api.github.com/repos/http4s/http4s/statuses/1f0fd5f42c46a3b3aeb4c653846b017d85901226"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":46,"deletions":22,"changed_files":8}}
{"actor":{"display_login":"cquiroz"}}