{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaWeb/Requests.jl/issues/133","repository_url":"https://api.github.com/repos/JuliaWeb/Requests.jl","labels_url":"https://api.github.com/repos/JuliaWeb/Requests.jl/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/JuliaWeb/Requests.jl/issues/133/comments","events_url":"https://api.github.com/repos/JuliaWeb/Requests.jl/issues/133/events","html_url":"https://github.com/JuliaWeb/Requests.jl/pull/133","id":169433019,"number":133,"title":"HTTP/2 Support","user":{"login":"sorpaas","id":6277322,"avatar_url":"https://avatars.githubusercontent.com/u/6277322?v=3","gravatar_id":"","url":"https://api.github.com/users/sorpaas","html_url":"https://github.com/sorpaas","followers_url":"https://api.github.com/users/sorpaas/followers","following_url":"https://api.github.com/users/sorpaas/following{/other_user}","gists_url":"https://api.github.com/users/sorpaas/gists{/gist_id}","starred_url":"https://api.github.com/users/sorpaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorpaas/subscriptions","organizations_url":"https://api.github.com/users/sorpaas/orgs","repos_url":"https://api.github.com/users/sorpaas/repos","events_url":"https://api.github.com/users/sorpaas/events{/privacy}","received_events_url":"https://api.github.com/users/sorpaas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-04T17:44:58Z","updated_at":"2016-10-05T06:45:02Z","closed_at":"2016-10-05T06:45:02Z","pull_request":{"url":"https://api.github.com/repos/JuliaWeb/Requests.jl/pulls/133","html_url":"https://github.com/JuliaWeb/Requests.jl/pull/133","diff_url":"https://github.com/JuliaWeb/Requests.jl/pull/133.diff","patch_url":"https://github.com/JuliaWeb/Requests.jl/pull/133.patch"},"body":"This pull request adds HTTP/2 support for Requests.jl. Help on testing and code review are highly appreciated!\r\n\r\nTo use it, you need to checkout `master` of [HPack.jl](http://github.com/sorpaas/HPack.jl) (header compression implementation), [HTTP2.jl](https://github.com/sorpaas/HTTP2.jl) (HTTP/2 protocol implementation) and [MbedTLS.jl](https://github.com/JuliaWeb/MbedTLS.jl).\r\n\r\nFor a simple test, install [nghttp](https://nghttp2.org). Run in shell `nghttpd --verbose --no-tls --hexdump 9000` to start a server and then in Julia:\r\n\r\n```\r\nusing Requests\r\nres = get(\"http://127.0.0.1:9000\", http2=true)\r\n\r\n@show res.headers\r\n```\r\n\r\nTo test HTTPS, create a test certificate and key. Start the server by `nghttpd --verbose --hexdump 9000 test.key test.crt` and then in Julia:\r\n\r\n```\r\nusing Requests\r\nres = get(\"https://127.0.0.1:9000\", tls_conf=Requests.TLS_NOVERIFY, http2=true)\r\n\r\n@show res.headers\r\n```\r\n\r\nYou can also test it against a server in the real world. Usually, wild HTTP/2 servers require HTTPS support.\r\n\r\n```\r\nusing Requests\r\nres = get(\"https://www.google.com\", http2=true)\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaWeb/Requests.jl/issues/comments/251595167","html_url":"https://github.com/JuliaWeb/Requests.jl/pull/133#issuecomment-251595167","issue_url":"https://api.github.com/repos/JuliaWeb/Requests.jl/issues/133","id":251595167,"user":{"login":"sorpaas","id":6277322,"avatar_url":"https://avatars.githubusercontent.com/u/6277322?v=3","gravatar_id":"","url":"https://api.github.com/users/sorpaas","html_url":"https://github.com/sorpaas","followers_url":"https://api.github.com/users/sorpaas/followers","following_url":"https://api.github.com/users/sorpaas/following{/other_user}","gists_url":"https://api.github.com/users/sorpaas/gists{/gist_id}","starred_url":"https://api.github.com/users/sorpaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorpaas/subscriptions","organizations_url":"https://api.github.com/users/sorpaas/orgs","repos_url":"https://api.github.com/users/sorpaas/repos","events_url":"https://api.github.com/users/sorpaas/events{/privacy}","received_events_url":"https://api.github.com/users/sorpaas/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T06:45:02Z","updated_at":"2016-10-05T06:45:02Z","body":"I guess a random failure on AppVeyor due to the connection failed (tries to receive additional \"frames\" after the connection has been closed). Reopen the pull request to trigger a rebuild."}}
{"actor":{"display_login":"sorpaas"}}