{"action":"created","issue":{"url":"https://api.github.com/repos/aio-libs/aiohttp/issues/1910","repository_url":"https://api.github.com/repos/aio-libs/aiohttp","labels_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/1910/labels{/name}","comments_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/1910/comments","events_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/1910/events","html_url":"https://github.com/aio-libs/aiohttp/pull/1910","id":230350121,"number":1910,"title":"Fix #1828: make enable_compression work on HTTP/1.0","user":{"login":"hubo1016","id":14069404,"avatar_url":"https://avatars0.githubusercontent.com/u/14069404?v=3","gravatar_id":"","url":"https://api.github.com/users/hubo1016","html_url":"https://github.com/hubo1016","followers_url":"https://api.github.com/users/hubo1016/followers","following_url":"https://api.github.com/users/hubo1016/following{/other_user}","gists_url":"https://api.github.com/users/hubo1016/gists{/gist_id}","starred_url":"https://api.github.com/users/hubo1016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubo1016/subscriptions","organizations_url":"https://api.github.com/users/hubo1016/orgs","repos_url":"https://api.github.com/users/hubo1016/repos","events_url":"https://api.github.com/users/hubo1016/events{/privacy}","received_events_url":"https://api.github.com/users/hubo1016/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-22T10:22:02Z","updated_at":"2017-05-22T10:39:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aio-libs/aiohttp/pulls/1910","html_url":"https://github.com/aio-libs/aiohttp/pull/1910","diff_url":"https://github.com/aio-libs/aiohttp/pull/1910.diff","patch_url":"https://github.com/aio-libs/aiohttp/pull/1910.patch"},"body":"## What do these changes do?\r\n\r\nThis pr fix #1828 i.e. generate a correctly compressed response for HTTP/1.0 requests.\r\n\r\n## Are there changes in behavior for the user?\r\n\r\nCall enable_compression on **Response** class with **body** set to some bytes now generates a response with content-length instead of chunk-encoded response.\r\n\r\n## Related issue number\r\n\r\n#1828 \r\n\r\n## Checklist\r\n\r\n- [x] I think the code is well written\r\n- [x] Unit tests for the changes exist\r\n- [x] Documentation reflects the changes\r\n- [x] If you provide code modification, please add yourself to `CONTRIBUTORS.txt`\r\n  * The format is &lt;Name&gt; &lt;Surname&gt;.\r\n  * Please keep alphabetical order, the file is sorted by names. \r\n- [ ] Add a new entry to `CHANGES.rst`\r\n  * Choose any open position to avoid merge conflicts with other PRs.\r\n  * Add a link to the issue you are fixing (if any) using `#issue_number` format at the end of changelog message. Use Pull Request number if there are no issues for PR or PR covers the issue only partially.\r\n"},"comment":{"url":"https://api.github.com/repos/aio-libs/aiohttp/issues/comments/303064056","html_url":"https://github.com/aio-libs/aiohttp/pull/1910#issuecomment-303064056","issue_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/1910","id":303064056,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars3.githubusercontent.com/u/8655789?v=3","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2017-05-22T10:39:07Z","updated_at":"2017-05-22T10:39:07Z","body":"# [Codecov](https://codecov.io/gh/aio-libs/aiohttp/pull/1910?src=pr&el=h1) Report\n> Merging [#1910](https://codecov.io/gh/aio-libs/aiohttp/pull/1910?src=pr&el=desc) into [2.0](https://codecov.io/gh/aio-libs/aiohttp/commit/954fec8342402da64e5f3866ec77a20efc8361a1?src=pr&el=desc) will **decrease** coverage by `0.11%`.\n> The diff coverage is `78.37%`.\n\n[![Impacted file tree graph](https://codecov.io/gh/aio-libs/aiohttp/pull/1910/graphs/tree.svg?width=650&height=150&src=pr&token=LJn22G3rd7)](https://codecov.io/gh/aio-libs/aiohttp/pull/1910?src=pr&el=tree)\n\n```diff\n@@            Coverage Diff            @@\n##              2.0   #1910      +/-   ##\n=========================================\n- Coverage   96.71%   96.6%   -0.12%     \n=========================================\n  Files          37      37              \n  Lines        7433    7457      +24     \n  Branches     1294    1303       +9     \n=========================================\n+ Hits         7189    7204      +15     \n- Misses        114     118       +4     \n- Partials      130     135       +5\n```\n\n\n| [Impacted Files](https://codecov.io/gh/aio-libs/aiohttp/pull/1910?src=pr&el=tree) | Coverage Δ | |\n|---|---|---|\n| [aiohttp/web\\_response.py](https://codecov.io/gh/aio-libs/aiohttp/pull/1910?src=pr&el=tree#diff-YWlvaHR0cC93ZWJfcmVzcG9uc2UucHk=) | `95.85% <78.37%> (-2.22%)` | :arrow_down: |\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/aio-libs/aiohttp/pull/1910?src=pr&el=continue).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\n> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/aio-libs/aiohttp/pull/1910?src=pr&el=footer). Last update [954fec8...337bba3](https://codecov.io/gh/aio-libs/aiohttp/pull/1910?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\n"}}
{"actor":{"display_login":"codecov-io"}}