{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/pulls/3","id":32360885,"html_url":"https://github.com/zulumarketing/xhtml2pdf/pull/3","diff_url":"https://github.com/zulumarketing/xhtml2pdf/pull/3.diff","patch_url":"https://github.com/zulumarketing/xhtml2pdf/pull/3.patch","issue_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/issues/3","number":3,"state":"open","locked":false,"title":"In suggested link_callback, handle local URI and remote ones","user":{"login":"xj9","id":95627,"avatar_url":"https://avatars.githubusercontent.com/u/95627?v=3","gravatar_id":"","url":"https://api.github.com/users/xj9","html_url":"https://github.com/xj9","followers_url":"https://api.github.com/users/xj9/followers","following_url":"https://api.github.com/users/xj9/following{/other_user}","gists_url":"https://api.github.com/users/xj9/gists{/gist_id}","starred_url":"https://api.github.com/users/xj9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xj9/subscriptions","organizations_url":"https://api.github.com/users/xj9/orgs","repos_url":"https://api.github.com/users/xj9/repos","events_url":"https://api.github.com/users/xj9/events{/privacy}","received_events_url":"https://api.github.com/users/xj9/received_events","type":"User","site_admin":false},"body":"Without that patch, when using absolute external url\r\n\r\n```\r\n  File \"xhtml2pdf-master/xhtml2pdf/util.py\", line 515, in __init__\r\n    uri = uri.encode('utf-8')\r\nAttributeError: 'NoneType' object has no attribute 'encode'\r\n```","created_at":"2015-03-31T20:13:14Z","updated_at":"2015-03-31T20:13:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/pulls/3/commits","review_comments_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/pulls/3/comments","review_comment_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/issues/3/comments","statuses_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/statuses/0195872ae4f71606d4bc6e26a6b658957f092b2a","head":{"label":"JocelynDelalande:patch-1","ref":"patch-1","sha":"0195872ae4f71606d4bc6e26a6b658957f092b2a","user":{"login":"JocelynDelalande","id":429633,"avatar_url":"https://avatars.githubusercontent.com/u/429633?v=3","gravatar_id":"","url":"https://api.github.com/users/JocelynDelalande","html_url":"https://github.com/JocelynDelalande","followers_url":"https://api.github.com/users/JocelynDelalande/followers","following_url":"https://api.github.com/users/JocelynDelalande/following{/other_user}","gists_url":"https://api.github.com/users/JocelynDelalande/gists{/gist_id}","starred_url":"https://api.github.com/users/JocelynDelalande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JocelynDelalande/subscriptions","organizations_url":"https://api.github.com/users/JocelynDelalande/orgs","repos_url":"https://api.github.com/users/JocelynDelalande/repos","events_url":"https://api.github.com/users/JocelynDelalande/events{/privacy}","received_events_url":"https://api.github.com/users/JocelynDelalande/received_events","type":"User","site_admin":false},"repo":{"id":25413470,"name":"xhtml2pdf","full_name":"JocelynDelalande/xhtml2pdf","owner":{"login":"JocelynDelalande","id":429633,"avatar_url":"https://avatars.githubusercontent.com/u/429633?v=3","gravatar_id":"","url":"https://api.github.com/users/JocelynDelalande","html_url":"https://github.com/JocelynDelalande","followers_url":"https://api.github.com/users/JocelynDelalande/followers","following_url":"https://api.github.com/users/JocelynDelalande/following{/other_user}","gists_url":"https://api.github.com/users/JocelynDelalande/gists{/gist_id}","starred_url":"https://api.github.com/users/JocelynDelalande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JocelynDelalande/subscriptions","organizations_url":"https://api.github.com/users/JocelynDelalande/orgs","repos_url":"https://api.github.com/users/JocelynDelalande/repos","events_url":"https://api.github.com/users/JocelynDelalande/events{/privacy}","received_events_url":"https://api.github.com/users/JocelynDelalande/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JocelynDelalande/xhtml2pdf","description":"HTML/CSS to PDF converter based on Python","fork":true,"url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf","forks_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/forks","keys_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/teams","hooks_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/hooks","issue_events_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/issues/events{/number}","events_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/events","assignees_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/assignees{/user}","branches_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/branches{/branch}","tags_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/tags","blobs_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/git/refs{/sha}","trees_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/statuses/{sha}","languages_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/languages","stargazers_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/stargazers","contributors_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/contributors","subscribers_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/subscribers","subscription_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/subscription","commits_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/commits{/sha}","git_commits_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/git/commits{/sha}","comments_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/comments{/number}","issue_comment_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/issues/comments{/number}","contents_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/contents/{+path}","compare_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/merges","archive_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/downloads","issues_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/issues{/number}","pulls_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/pulls{/number}","milestones_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/milestones{/number}","notifications_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/labels{/name}","releases_url":"https://api.github.com/repos/JocelynDelalande/xhtml2pdf/releases{/id}","created_at":"2014-10-19T00:09:28Z","updated_at":"2014-10-17T15:19:59Z","pushed_at":"2014-10-19T00:12:51Z","git_url":"git://github.com/JocelynDelalande/xhtml2pdf.git","ssh_url":"git@github.com:JocelynDelalande/xhtml2pdf.git","clone_url":"https://github.com/JocelynDelalande/xhtml2pdf.git","svn_url":"https://github.com/JocelynDelalande/xhtml2pdf","homepage":"http://www.xhtml2pdf.com","size":9137,"stargazers_count":0,"watchers_count":0,"language":null,"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":"zulumarketing:master","ref":"master","sha":"1ba8e4f37cff5ae8e36cb70e3ea289edd5e3b17c","user":{"login":"zulumarketing","id":4921699,"avatar_url":"https://avatars.githubusercontent.com/u/4921699?v=3","gravatar_id":"","url":"https://api.github.com/users/zulumarketing","html_url":"https://github.com/zulumarketing","followers_url":"https://api.github.com/users/zulumarketing/followers","following_url":"https://api.github.com/users/zulumarketing/following{/other_user}","gists_url":"https://api.github.com/users/zulumarketing/gists{/gist_id}","starred_url":"https://api.github.com/users/zulumarketing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulumarketing/subscriptions","organizations_url":"https://api.github.com/users/zulumarketing/orgs","repos_url":"https://api.github.com/users/zulumarketing/repos","events_url":"https://api.github.com/users/zulumarketing/events{/privacy}","received_events_url":"https://api.github.com/users/zulumarketing/received_events","type":"Organization","site_admin":false},"repo":{"id":33204911,"name":"xhtml2pdf","full_name":"zulumarketing/xhtml2pdf","owner":{"login":"zulumarketing","id":4921699,"avatar_url":"https://avatars.githubusercontent.com/u/4921699?v=3","gravatar_id":"","url":"https://api.github.com/users/zulumarketing","html_url":"https://github.com/zulumarketing","followers_url":"https://api.github.com/users/zulumarketing/followers","following_url":"https://api.github.com/users/zulumarketing/following{/other_user}","gists_url":"https://api.github.com/users/zulumarketing/gists{/gist_id}","starred_url":"https://api.github.com/users/zulumarketing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulumarketing/subscriptions","organizations_url":"https://api.github.com/users/zulumarketing/orgs","repos_url":"https://api.github.com/users/zulumarketing/repos","events_url":"https://api.github.com/users/zulumarketing/events{/privacy}","received_events_url":"https://api.github.com/users/zulumarketing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zulumarketing/xhtml2pdf","description":"HTML/CSS to PDF converter based on Python","fork":true,"url":"https://api.github.com/repos/zulumarketing/xhtml2pdf","forks_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/forks","keys_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/teams","hooks_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/hooks","issue_events_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/issues/events{/number}","events_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/events","assignees_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/assignees{/user}","branches_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/branches{/branch}","tags_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/tags","blobs_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/git/refs{/sha}","trees_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/statuses/{sha}","languages_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/languages","stargazers_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/stargazers","contributors_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/contributors","subscribers_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/subscribers","subscription_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/subscription","commits_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/commits{/sha}","git_commits_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/git/commits{/sha}","comments_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/comments{/number}","issue_comment_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/issues/comments{/number}","contents_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/contents/{+path}","compare_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/merges","archive_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/downloads","issues_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/issues{/number}","pulls_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/pulls{/number}","milestones_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/milestones{/number}","notifications_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/labels{/name}","releases_url":"https://api.github.com/repos/zulumarketing/xhtml2pdf/releases{/id}","created_at":"2015-03-31T19:20:47Z","updated_at":"2015-03-31T20:11:02Z","pushed_at":"2015-03-31T20:11:02Z","git_url":"git://github.com/zulumarketing/xhtml2pdf.git","ssh_url":"git@github.com:zulumarketing/xhtml2pdf.git","clone_url":"https://github.com/zulumarketing/xhtml2pdf.git","svn_url":"https://github.com/zulumarketing/xhtml2pdf","homepage":"http://www.xhtml2pdf.com","size":9183,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zulumarketing/xhtml2pdf/pulls/3"},"html":{"href":"https://github.com/zulumarketing/xhtml2pdf/pull/3"},"issue":{"href":"https://api.github.com/repos/zulumarketing/xhtml2pdf/issues/3"},"comments":{"href":"https://api.github.com/repos/zulumarketing/xhtml2pdf/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/zulumarketing/xhtml2pdf/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/zulumarketing/xhtml2pdf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zulumarketing/xhtml2pdf/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/zulumarketing/xhtml2pdf/statuses/0195872ae4f71606d4bc6e26a6b658957f092b2a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}