{"action":"closed","number":38,"pull_request":{"url":"https://api.github.com/repos/mingchen/django-cas-ng/pulls/38","id":36043878,"html_url":"https://github.com/mingchen/django-cas-ng/pull/38","diff_url":"https://github.com/mingchen/django-cas-ng/pull/38.diff","patch_url":"https://github.com/mingchen/django-cas-ng/pull/38.patch","issue_url":"https://api.github.com/repos/mingchen/django-cas-ng/issues/38","number":38,"state":"closed","locked":false,"title":"fix(backends): encode saml assertion to prevent TypeError on POST data","user":{"login":"edouard-lopez","id":1212392,"avatar_url":"https://avatars.githubusercontent.com/u/1212392?v=3","gravatar_id":"","url":"https://api.github.com/users/edouard-lopez","html_url":"https://github.com/edouard-lopez","followers_url":"https://api.github.com/users/edouard-lopez/followers","following_url":"https://api.github.com/users/edouard-lopez/following{/other_user}","gists_url":"https://api.github.com/users/edouard-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/edouard-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edouard-lopez/subscriptions","organizations_url":"https://api.github.com/users/edouard-lopez/orgs","repos_url":"https://api.github.com/users/edouard-lopez/repos","events_url":"https://api.github.com/users/edouard-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/edouard-lopez/received_events","type":"User","site_admin":false},"body":"fixes #37 : TypeError at /accounts/login/ POST data should be bytes or an iterable of bytes. It cannot be of type str. \r\n\r\n","created_at":"2015-05-22T15:49:40Z","updated_at":"2015-05-24T03:42:57Z","closed_at":"2015-05-24T03:42:57Z","merged_at":"2015-05-24T03:42:57Z","merge_commit_sha":"a2dd57468ab5b9d4019371ec649b85e537d3c4a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mingchen/django-cas-ng/pulls/38/commits","review_comments_url":"https://api.github.com/repos/mingchen/django-cas-ng/pulls/38/comments","review_comment_url":"https://api.github.com/repos/mingchen/django-cas-ng/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mingchen/django-cas-ng/issues/38/comments","statuses_url":"https://api.github.com/repos/mingchen/django-cas-ng/statuses/985b6882f741b9d07ad8efacd9571e544a3ec8b4","head":{"label":"edouard-lopez:master","ref":"master","sha":"985b6882f741b9d07ad8efacd9571e544a3ec8b4","user":{"login":"edouard-lopez","id":1212392,"avatar_url":"https://avatars.githubusercontent.com/u/1212392?v=3","gravatar_id":"","url":"https://api.github.com/users/edouard-lopez","html_url":"https://github.com/edouard-lopez","followers_url":"https://api.github.com/users/edouard-lopez/followers","following_url":"https://api.github.com/users/edouard-lopez/following{/other_user}","gists_url":"https://api.github.com/users/edouard-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/edouard-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edouard-lopez/subscriptions","organizations_url":"https://api.github.com/users/edouard-lopez/orgs","repos_url":"https://api.github.com/users/edouard-lopez/repos","events_url":"https://api.github.com/users/edouard-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/edouard-lopez/received_events","type":"User","site_admin":false},"repo":{"id":36066015,"name":"django-cas-ng","full_name":"edouard-lopez/django-cas-ng","owner":{"login":"edouard-lopez","id":1212392,"avatar_url":"https://avatars.githubusercontent.com/u/1212392?v=3","gravatar_id":"","url":"https://api.github.com/users/edouard-lopez","html_url":"https://github.com/edouard-lopez","followers_url":"https://api.github.com/users/edouard-lopez/followers","following_url":"https://api.github.com/users/edouard-lopez/following{/other_user}","gists_url":"https://api.github.com/users/edouard-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/edouard-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edouard-lopez/subscriptions","organizations_url":"https://api.github.com/users/edouard-lopez/orgs","repos_url":"https://api.github.com/users/edouard-lopez/repos","events_url":"https://api.github.com/users/edouard-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/edouard-lopez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edouard-lopez/django-cas-ng","description":"Django CAS (Central Authentication Service) client","fork":true,"url":"https://api.github.com/repos/edouard-lopez/django-cas-ng","forks_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/forks","keys_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/teams","hooks_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/hooks","issue_events_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/issues/events{/number}","events_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/events","assignees_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/assignees{/user}","branches_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/branches{/branch}","tags_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/tags","blobs_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/statuses/{sha}","languages_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/languages","stargazers_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/stargazers","contributors_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/contributors","subscribers_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/subscribers","subscription_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/subscription","commits_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/contents/{+path}","compare_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/merges","archive_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/downloads","issues_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/issues{/number}","pulls_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/pulls{/number}","milestones_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/milestones{/number}","notifications_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/labels{/name}","releases_url":"https://api.github.com/repos/edouard-lopez/django-cas-ng/releases{/id}","created_at":"2015-05-22T10:14:16Z","updated_at":"2015-05-22T10:14:17Z","pushed_at":"2015-05-22T15:44:46Z","git_url":"git://github.com/edouard-lopez/django-cas-ng.git","ssh_url":"git@github.com:edouard-lopez/django-cas-ng.git","clone_url":"https://github.com/edouard-lopez/django-cas-ng.git","svn_url":"https://github.com/edouard-lopez/django-cas-ng","homepage":"","size":1459,"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":"mingchen:master","ref":"master","sha":"69463fe7c23f025be7165c2967f4ceb983d60472","user":{"login":"mingchen","id":1002838,"avatar_url":"https://avatars.githubusercontent.com/u/1002838?v=3","gravatar_id":"","url":"https://api.github.com/users/mingchen","html_url":"https://github.com/mingchen","followers_url":"https://api.github.com/users/mingchen/followers","following_url":"https://api.github.com/users/mingchen/following{/other_user}","gists_url":"https://api.github.com/users/mingchen/gists{/gist_id}","starred_url":"https://api.github.com/users/mingchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingchen/subscriptions","organizations_url":"https://api.github.com/users/mingchen/orgs","repos_url":"https://api.github.com/users/mingchen/repos","events_url":"https://api.github.com/users/mingchen/events{/privacy}","received_events_url":"https://api.github.com/users/mingchen/received_events","type":"User","site_admin":false},"repo":{"id":20116448,"name":"django-cas-ng","full_name":"mingchen/django-cas-ng","owner":{"login":"mingchen","id":1002838,"avatar_url":"https://avatars.githubusercontent.com/u/1002838?v=3","gravatar_id":"","url":"https://api.github.com/users/mingchen","html_url":"https://github.com/mingchen","followers_url":"https://api.github.com/users/mingchen/followers","following_url":"https://api.github.com/users/mingchen/following{/other_user}","gists_url":"https://api.github.com/users/mingchen/gists{/gist_id}","starred_url":"https://api.github.com/users/mingchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingchen/subscriptions","organizations_url":"https://api.github.com/users/mingchen/orgs","repos_url":"https://api.github.com/users/mingchen/repos","events_url":"https://api.github.com/users/mingchen/events{/privacy}","received_events_url":"https://api.github.com/users/mingchen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mingchen/django-cas-ng","description":"Django CAS (Central Authentication Service) client","fork":false,"url":"https://api.github.com/repos/mingchen/django-cas-ng","forks_url":"https://api.github.com/repos/mingchen/django-cas-ng/forks","keys_url":"https://api.github.com/repos/mingchen/django-cas-ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mingchen/django-cas-ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mingchen/django-cas-ng/teams","hooks_url":"https://api.github.com/repos/mingchen/django-cas-ng/hooks","issue_events_url":"https://api.github.com/repos/mingchen/django-cas-ng/issues/events{/number}","events_url":"https://api.github.com/repos/mingchen/django-cas-ng/events","assignees_url":"https://api.github.com/repos/mingchen/django-cas-ng/assignees{/user}","branches_url":"https://api.github.com/repos/mingchen/django-cas-ng/branches{/branch}","tags_url":"https://api.github.com/repos/mingchen/django-cas-ng/tags","blobs_url":"https://api.github.com/repos/mingchen/django-cas-ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mingchen/django-cas-ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mingchen/django-cas-ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/mingchen/django-cas-ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mingchen/django-cas-ng/statuses/{sha}","languages_url":"https://api.github.com/repos/mingchen/django-cas-ng/languages","stargazers_url":"https://api.github.com/repos/mingchen/django-cas-ng/stargazers","contributors_url":"https://api.github.com/repos/mingchen/django-cas-ng/contributors","subscribers_url":"https://api.github.com/repos/mingchen/django-cas-ng/subscribers","subscription_url":"https://api.github.com/repos/mingchen/django-cas-ng/subscription","commits_url":"https://api.github.com/repos/mingchen/django-cas-ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/mingchen/django-cas-ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/mingchen/django-cas-ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/mingchen/django-cas-ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/mingchen/django-cas-ng/contents/{+path}","compare_url":"https://api.github.com/repos/mingchen/django-cas-ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mingchen/django-cas-ng/merges","archive_url":"https://api.github.com/repos/mingchen/django-cas-ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mingchen/django-cas-ng/downloads","issues_url":"https://api.github.com/repos/mingchen/django-cas-ng/issues{/number}","pulls_url":"https://api.github.com/repos/mingchen/django-cas-ng/pulls{/number}","milestones_url":"https://api.github.com/repos/mingchen/django-cas-ng/milestones{/number}","notifications_url":"https://api.github.com/repos/mingchen/django-cas-ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mingchen/django-cas-ng/labels{/name}","releases_url":"https://api.github.com/repos/mingchen/django-cas-ng/releases{/id}","created_at":"2014-05-23T22:52:34Z","updated_at":"2015-05-21T02:08:03Z","pushed_at":"2015-05-24T03:42:57Z","git_url":"git://github.com/mingchen/django-cas-ng.git","ssh_url":"git@github.com:mingchen/django-cas-ng.git","clone_url":"https://github.com/mingchen/django-cas-ng.git","svn_url":"https://github.com/mingchen/django-cas-ng","homepage":"","size":1459,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":3,"forks":21,"open_issues":3,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mingchen/django-cas-ng/pulls/38"},"html":{"href":"https://github.com/mingchen/django-cas-ng/pull/38"},"issue":{"href":"https://api.github.com/repos/mingchen/django-cas-ng/issues/38"},"comments":{"href":"https://api.github.com/repos/mingchen/django-cas-ng/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/mingchen/django-cas-ng/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/mingchen/django-cas-ng/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mingchen/django-cas-ng/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/mingchen/django-cas-ng/statuses/985b6882f741b9d07ad8efacd9571e544a3ec8b4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mingchen","id":1002838,"avatar_url":"https://avatars.githubusercontent.com/u/1002838?v=3","gravatar_id":"","url":"https://api.github.com/users/mingchen","html_url":"https://github.com/mingchen","followers_url":"https://api.github.com/users/mingchen/followers","following_url":"https://api.github.com/users/mingchen/following{/other_user}","gists_url":"https://api.github.com/users/mingchen/gists{/gist_id}","starred_url":"https://api.github.com/users/mingchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingchen/subscriptions","organizations_url":"https://api.github.com/users/mingchen/orgs","repos_url":"https://api.github.com/users/mingchen/repos","events_url":"https://api.github.com/users/mingchen/events{/privacy}","received_events_url":"https://api.github.com/users/mingchen/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":5,"additions":48,"deletions":28,"changed_files":3}}