{"action":"created","issue":{"url":"https://api.github.com/repos/shazow/urllib3/issues/911","repository_url":"https://api.github.com/repos/shazow/urllib3","labels_url":"https://api.github.com/repos/shazow/urllib3/issues/911/labels{/name}","comments_url":"https://api.github.com/repos/shazow/urllib3/issues/911/comments","events_url":"https://api.github.com/repos/shazow/urllib3/issues/911/events","html_url":"https://github.com/shazow/urllib3/pull/911","id":163301366,"number":911,"title":"Normalize the scheme and host in the URL parser","user":{"login":"jeremycline","id":1977525,"avatar_url":"https://avatars.githubusercontent.com/u/1977525?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremycline","html_url":"https://github.com/jeremycline","followers_url":"https://api.github.com/users/jeremycline/followers","following_url":"https://api.github.com/users/jeremycline/following{/other_user}","gists_url":"https://api.github.com/users/jeremycline/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremycline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremycline/subscriptions","organizations_url":"https://api.github.com/users/jeremycline/orgs","repos_url":"https://api.github.com/users/jeremycline/repos","events_url":"https://api.github.com/users/jeremycline/events{/privacy}","received_events_url":"https://api.github.com/users/jeremycline/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-01T01:28:43Z","updated_at":"2016-07-01T14:37:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/shazow/urllib3/pulls/911","html_url":"https://github.com/shazow/urllib3/pull/911","diff_url":"https://github.com/shazow/urllib3/pull/911.diff","patch_url":"https://github.com/shazow/urllib3/pull/911.patch"},"body":"I don't know that this is the most rigorous way to fix the problem of case-sensitivity, but it seemed like a nice centralized place to normalize things.\r\n\r\nAccording to RFC 3986, the scheme and the host portion of the authority\r\nin a URI are case-insensitive. ``urllib3`` uses the scheme in particular\r\nas a key for various dictionaries, and oddly-cased schemes can break\r\nthis. This patch modifies the Url class to normalize both the scheme and\r\nhost.\r\n\r\nfixes #833"},"comment":{"url":"https://api.github.com/repos/shazow/urllib3/issues/comments/229963720","html_url":"https://github.com/shazow/urllib3/pull/911#issuecomment-229963720","issue_url":"https://api.github.com/repos/shazow/urllib3/issues/911","id":229963720,"user":{"login":"Lukasa","id":1382556,"avatar_url":"https://avatars.githubusercontent.com/u/1382556?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukasa","html_url":"https://github.com/Lukasa","followers_url":"https://api.github.com/users/Lukasa/followers","following_url":"https://api.github.com/users/Lukasa/following{/other_user}","gists_url":"https://api.github.com/users/Lukasa/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukasa/subscriptions","organizations_url":"https://api.github.com/users/Lukasa/orgs","repos_url":"https://api.github.com/users/Lukasa/repos","events_url":"https://api.github.com/users/Lukasa/events{/privacy}","received_events_url":"https://api.github.com/users/Lukasa/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T14:37:17Z","updated_at":"2016-07-01T14:37:17Z","body":"Hurrah, thanks both! :sparkles: :cake: :sparkles: @jeremycline Do you mind updating CHANGES with this? Frustratingly I have to take an extra step to do it myself because I don't have admin on this repo, so it's easier if your PR does it for me. =D"}}
{"actor":{"display_login":"Lukasa"}}