GitHub PullRequestEvent at 2014-11-26 14:25:15
Repository: pyjwt
Actor: skion
Payload: {"action":"opened","number":48,"pull_request":{"url":"https://api.github.com/repos/progrium/pyjwt/pulls/48","id":25087019,"html_url":"https://github.com/progrium/pyjwt/pull/48","diff_url":"https://github.com/progrium/pyjwt/pull/48.diff","patch_url":"https://github.com/progrium/pyjwt/pull/48.patch","issue_url":"https://api.github.com/repos/progrium/pyjwt/issues/48","number":48,"state":"open","locked":false,"title":"Let `header()` support unicode input, like `decode()`.","user":{"login":"skion","id":532192,"avatar_url":"https://avatars.githubusercontent.com/u/532192?v=3","gravatar_id":"","url":"https://api.github.com/users/skion","html_url":"https://github.com/skion","followers_url":"https://api.github.com/users/skion/followers","following_url":"https://api.github.com/users/skion/following{/other_user}","gists_url":"https://api.github.com/users/skion/gists{/gist_id}","starred_url":"https://api.github.com/users/skion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skion/subscriptions","organizations_url":"https://api.github.com/users/skion/orgs","repos_url":"https://api.github.com/users/skion/repos","events_url":"https://api.github.com/users/skion/events{/privacy}","received_events_url":"https://api.github.com/users/skion/received_events","type":"User","site_admin":false},"body":"When invoking `header()` before `decode()` on the same JWT, you could run into `DecodeError(\"Invalid header encoding\")` if the JWT input was unicode. This aligns `header()` with `decode()`.","created_at":"2014-11-26T14:25:14Z","updated_at":"2014-11-26T14:25:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/progrium/pyjwt/pulls/48/commits","review_comments_url":"https://api.github.com/repos/progrium/pyjwt/pulls/48/comments","review_comment_url":"https://api.github.com/repos/progrium/pyjwt/pulls/comments/{number}","comments_url":"https://api.github.com/repos/progrium/pyjwt/issues/48/comments","statuses_url":"https://api.github.com/repos/progrium/pyjwt/statuses/22353631e20cd4b12a6700d24a9fcc5d9679e4c5","head":{"label":"skion:header","ref":"header","sha":"22353631e20cd4b12a6700d24a9fcc5d9679e4c5","user":{"login":"skion","id":532192,"avatar_url":"https://avatars.githubusercontent.com/u/532192?v=3","gravatar_id":"","url":"https://api.github.com/users/skion","html_url":"https://github.com/skion","followers_url":"https://api.github.com/users/skion/followers","following_url":"https://api.github.com/users/skion/following{/other_user}","gists_url":"https://api.github.com/users/skion/gists{/gist_id}","starred_url":"https://api.github.com/users/skion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skion/subscriptions","organizations_url":"https://api.github.com/users/skion/orgs","repos_url":"https://api.github.com/users/skion/repos","events_url":"https://api.github.com/users/skion/events{/privacy}","received_events_url":"https://api.github.com/users/skion/received_events","type":"User","site_admin":false},"repo":{"id":24224499,"name":"pyjwt","full_name":"skion/pyjwt","owner":{"login":"skion","id":532192,"avatar_url":"https://avatars.githubusercontent.com/u/532192?v=3","gravatar_id":"","url":"https://api.github.com/users/skion","html_url":"https://github.com/skion","followers_url":"https://api.github.com/users/skion/followers","following_url":"https://api.github.com/users/skion/following{/other_user}","gists_url":"https://api.github.com/users/skion/gists{/gist_id}","starred_url":"https://api.github.com/users/skion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skion/subscriptions","organizations_url":"https://api.github.com/users/skion/orgs","repos_url":"https://api.github.com/users/skion/repos","events_url":"https://api.github.com/users/skion/events{/privacy}","received_events_url":"https://api.github.com/users/skion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skion/pyjwt","description":"JSON Web Token implementation in Python","fork":true,"url":"https://api.github.com/repos/skion/pyjwt","forks_url":"https://api.github.com/repos/skion/pyjwt/forks","keys_url":"https://api.github.com/repos/skion/pyjwt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skion/pyjwt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skion/pyjwt/teams","hooks_url":"https://api.github.com/repos/skion/pyjwt/hooks","issue_events_url":"https://api.github.com/repos/skion/pyjwt/issues/events{/number}","events_url":"https://api.github.com/repos/skion/pyjwt/events","assignees_url":"https://api.github.com/repos/skion/pyjwt/assignees{/user}","branches_url":"https://api.github.com/repos/skion/pyjwt/branches{/branch}","tags_url":"https://api.github.com/repos/skion/pyjwt/tags","blobs_url":"https://api.github.com/repos/skion/pyjwt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skion/pyjwt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skion/pyjwt/git/refs{/sha}","trees_url":"https://api.github.com/repos/skion/pyjwt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skion/pyjwt/statuses/{sha}","languages_url":"https://api.github.com/repos/skion/pyjwt/languages","stargazers_url":"https://api.github.com/repos/skion/pyjwt/stargazers","contributors_url":"https://api.github.com/repos/skion/pyjwt/contributors","subscribers_url":"https://api.github.com/repos/skion/pyjwt/subscribers","subscription_url":"https://api.github.com/repos/skion/pyjwt/subscription","commits_url":"https://api.github.com/repos/skion/pyjwt/commits{/sha}","git_commits_url":"https://api.github.com/repos/skion/pyjwt/git/commits{/sha}","comments_url":"https://api.github.com/repos/skion/pyjwt/comments{/number}","issue_comment_url":"https://api.github.com/repos/skion/pyjwt/issues/comments/{number}","contents_url":"https://api.github.com/repos/skion/pyjwt/contents/{+path}","compare_url":"https://api.github.com/repos/skion/pyjwt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skion/pyjwt/merges","archive_url":"https://api.github.com/repos/skion/pyjwt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skion/pyjwt/downloads","issues_url":"https://api.github.com/repos/skion/pyjwt/issues{/number}","pulls_url":"https://api.github.com/repos/skion/pyjwt/pulls{/number}","milestones_url":"https://api.github.com/repos/skion/pyjwt/milestones{/number}","notifications_url":"https://api.github.com/repos/skion/pyjwt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skion/pyjwt/labels{/name}","releases_url":"https://api.github.com/repos/skion/pyjwt/releases{/id}","created_at":"2014-09-19T09:38:56Z","updated_at":"2014-10-08T11:02:42Z","pushed_at":"2014-11-26T14:21:30Z","git_url":"git://github.com/skion/pyjwt.git","ssh_url":"git@github.com:skion/pyjwt.git","clone_url":"https://github.com/skion/pyjwt.git","svn_url":"https://github.com/skion/pyjwt","homepage":"","size":331,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"progrium:master","ref":"master","sha":"16bb46723de0db4178c8b98f3a815dbf7e1479ed","user":{"login":"progrium","id":647,"avatar_url":"https://avatars.githubusercontent.com/u/647?v=3","gravatar_id":"","url":"https://api.github.com/users/progrium","html_url":"https://github.com/progrium","followers_url":"https://api.github.com/users/progrium/followers","following_url":"https://api.github.com/users/progrium/following{/other_user}","gists_url":"https://api.github.com/users/progrium/gists{/gist_id}","starred_url":"https://api.github.com/users/progrium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/progrium/subscriptions","organizations_url":"https://api.github.com/users/progrium/orgs","repos_url":"https://api.github.com/users/progrium/repos","events_url":"https://api.github.com/users/progrium/events{/privacy}","received_events_url":"https://api.github.com/users/progrium/received_events","type":"User","site_admin":false},"repo":{"id":1408162,"name":"pyjwt","full_name":"progrium/pyjwt","owner":{"login":"progrium","id":647,"avatar_url":"https://avatars.githubusercontent.com/u/647?v=3","gravatar_id":"","url":"https://api.github.com/users/progrium","html_url":"https://github.com/progrium","followers_url":"https://api.github.com/users/progrium/followers","following_url":"https://api.github.com/users/progrium/following{/other_user}","gists_url":"https://api.github.com/users/progrium/gists{/gist_id}","starred_url":"https://api.github.com/users/progrium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/progrium/subscriptions","organizations_url":"https://api.github.com/users/progrium/orgs","repos_url":"https://api.github.com/users/progrium/repos","events_url":"https://api.github.com/users/progrium/events{/privacy}","received_events_url":"https://api.github.com/users/progrium/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/progrium/pyjwt","description":"JSON Web Token implementation in Python","fork":false,"url":"https://api.github.com/repos/progrium/pyjwt","forks_url":"https://api.github.com/repos/progrium/pyjwt/forks","keys_url":"https://api.github.com/repos/progrium/pyjwt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/progrium/pyjwt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/progrium/pyjwt/teams","hooks_url":"https://api.github.com/repos/progrium/pyjwt/hooks","issue_events_url":"https://api.github.com/repos/progrium/pyjwt/issues/events{/number}","events_url":"https://api.github.com/repos/progrium/pyjwt/events","assignees_url":"https://api.github.com/repos/progrium/pyjwt/assignees{/user}","branches_url":"https://api.github.com/repos/progrium/pyjwt/branches{/branch}","tags_url":"https://api.github.com/repos/progrium/pyjwt/tags","blobs_url":"https://api.github.com/repos/progrium/pyjwt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/progrium/pyjwt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/progrium/pyjwt/git/refs{/sha}","trees_url":"https://api.github.com/repos/progrium/pyjwt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/progrium/pyjwt/statuses/{sha}","languages_url":"https://api.github.com/repos/progrium/pyjwt/languages","stargazers_url":"https://api.github.com/repos/progrium/pyjwt/stargazers","contributors_url":"https://api.github.com/repos/progrium/pyjwt/contributors","subscribers_url":"https://api.github.com/repos/progrium/pyjwt/subscribers","subscription_url":"https://api.github.com/repos/progrium/pyjwt/subscription","commits_url":"https://api.github.com/repos/progrium/pyjwt/commits{/sha}","git_commits_url":"https://api.github.com/repos/progrium/pyjwt/git/commits{/sha}","comments_url":"https://api.github.com/repos/progrium/pyjwt/comments{/number}","issue_comment_url":"https://api.github.com/repos/progrium/pyjwt/issues/comments/{number}","contents_url":"https://api.github.com/repos/progrium/pyjwt/contents/{+path}","compare_url":"https://api.github.com/repos/progrium/pyjwt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/progrium/pyjwt/merges","archive_url":"https://api.github.com/repos/progrium/pyjwt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/progrium/pyjwt/downloads","issues_url":"https://api.github.com/repos/progrium/pyjwt/issues{/number}","pulls_url":"https://api.github.com/repos/progrium/pyjwt/pulls{/number}","milestones_url":"https://api.github.com/repos/progrium/pyjwt/milestones{/number}","notifications_url":"https://api.github.com/repos/progrium/pyjwt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/progrium/pyjwt/labels{/name}","releases_url":"https://api.github.com/repos/progrium/pyjwt/releases{/id}","created_at":"2011-02-24T20:25:09Z","updated_at":"2014-11-25T12:12:15Z","pushed_at":"2014-11-20T17:05:51Z","git_url":"git://github.com/progrium/pyjwt.git","ssh_url":"git@github.com:progrium/pyjwt.git","clone_url":"https://github.com/progrium/pyjwt.git","svn_url":"https://github.com/progrium/pyjwt","homepage":"","size":717,"stargazers_count":217,"watchers_count":217,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":3,"forks":46,"open_issues":3,"watchers":217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/progrium/pyjwt/pulls/48"},"html":{"href":"https://github.com/progrium/pyjwt/pull/48"},"issue":{"href":"https://api.github.com/repos/progrium/pyjwt/issues/48"},"comments":{"href":"https://api.github.com/repos/progrium/pyjwt/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/progrium/pyjwt/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/progrium/pyjwt/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/progrium/pyjwt/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/progrium/pyjwt/statuses/22353631e20cd4b12a6700d24a9fcc5d9679e4c5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":2,"changed_files":1}}