{"action":"created","issue":{"url":"https://api.github.com/repos/paritytech/parity/issues/8099","repository_url":"https://api.github.com/repos/paritytech/parity","labels_url":"https://api.github.com/repos/paritytech/parity/issues/8099/labels{/name}","comments_url":"https://api.github.com/repos/paritytech/parity/issues/8099/comments","events_url":"https://api.github.com/repos/paritytech/parity/issues/8099/events","html_url":"https://github.com/paritytech/parity/pull/8099","id":304728752,"number":8099,"title":"Replace reqwest with hyper","user":{"login":"twittner","id":132165,"avatar_url":"https://avatars0.githubusercontent.com/u/132165?v=4","gravatar_id":"","url":"https://api.github.com/users/twittner","html_url":"https://github.com/twittner","followers_url":"https://api.github.com/users/twittner/followers","following_url":"https://api.github.com/users/twittner/following{/other_user}","gists_url":"https://api.github.com/users/twittner/gists{/gist_id}","starred_url":"https://api.github.com/users/twittner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twittner/subscriptions","organizations_url":"https://api.github.com/users/twittner/orgs","repos_url":"https://api.github.com/users/twittner/repos","events_url":"https://api.github.com/users/twittner/events{/privacy}","received_events_url":"https://api.github.com/users/twittner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-13T11:37:13Z","updated_at":"2018-03-13T11:40:03Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/paritytech/parity/pulls/8099","html_url":"https://github.com/paritytech/parity/pull/8099","diff_url":"https://github.com/paritytech/parity/pull/8099.diff","patch_url":"https://github.com/paritytech/parity/pull/8099.patch"},"body":"The approach taken is to spawn a background thread running a tokio `Core` and hyper `Client`, processing requests sent over a `mpsc` channel and send back responses over `oneshot` channels. Hyper client itself does not implement `Send` so this way we can keep the `Send` bound of the `Fetch` trait itself and make this a local change.\r\n\r\nTo accommodate existing synchronous uses of fetch responses an adapter `BodyReader` is provided which waits for response body `Chunk`s to arrive. \r\n\r\nResolves #7829."},"comment":{"url":"https://api.github.com/repos/paritytech/parity/issues/comments/372636596","html_url":"https://github.com/paritytech/parity/pull/8099#issuecomment-372636596","issue_url":"https://api.github.com/repos/paritytech/parity/issues/8099","id":372636596,"user":{"login":"parity-cla-bot","id":17223992,"avatar_url":"https://avatars3.githubusercontent.com/u/17223992?v=4","gravatar_id":"","url":"https://api.github.com/users/parity-cla-bot","html_url":"https://github.com/parity-cla-bot","followers_url":"https://api.github.com/users/parity-cla-bot/followers","following_url":"https://api.github.com/users/parity-cla-bot/following{/other_user}","gists_url":"https://api.github.com/users/parity-cla-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/parity-cla-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parity-cla-bot/subscriptions","organizations_url":"https://api.github.com/users/parity-cla-bot/orgs","repos_url":"https://api.github.com/users/parity-cla-bot/repos","events_url":"https://api.github.com/users/parity-cla-bot/events{/privacy}","received_events_url":"https://api.github.com/users/parity-cla-bot/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T11:40:03Z","updated_at":"2018-03-13T11:40:03Z","author_association":"NONE","body":"It looks like @twittner signed our Contributor License Agreement. :+1:\n\nMany thanks,\n\nParity Technologies CLA Bot"}}
{"actor":{"display_login":"parity-cla-bot"}}