{"action":"closed","issue":{"url":"https://api.github.com/repos/aio-libs/aiohttp/issues/2953","repository_url":"https://api.github.com/repos/aio-libs/aiohttp","labels_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/2953/labels{/name}","comments_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/2953/comments","events_url":"https://api.github.com/repos/aio-libs/aiohttp/issues/2953/events","html_url":"https://github.com/aio-libs/aiohttp/issues/2953","id":317195131,"number":2953,"title":"[client] Using connection pool without session or session without cookies","user":{"login":"saabeilin","id":1620799,"avatar_url":"https://avatars1.githubusercontent.com/u/1620799?v=4","gravatar_id":"","url":"https://api.github.com/users/saabeilin","html_url":"https://github.com/saabeilin","followers_url":"https://api.github.com/users/saabeilin/followers","following_url":"https://api.github.com/users/saabeilin/following{/other_user}","gists_url":"https://api.github.com/users/saabeilin/gists{/gist_id}","starred_url":"https://api.github.com/users/saabeilin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saabeilin/subscriptions","organizations_url":"https://api.github.com/users/saabeilin/orgs","repos_url":"https://api.github.com/users/saabeilin/repos","events_url":"https://api.github.com/users/saabeilin/events{/privacy}","received_events_url":"https://api.github.com/users/saabeilin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-24T12:04:59Z","updated_at":"2018-04-24T12:07:48Z","closed_at":"2018-04-24T12:07:48Z","author_association":"NONE","body":"## Long story short\r\n\r\nSometimes one needs to make requests to a number of external http resources, some of them being client-facing API providing cookies you do not really need. The Session manages cookies by default and there's no simple way to easily switch it off. In fact, in many situations only connection pooling is required. Creating a session for every request does not look as a good approach.\r\n\r\nA typical use case is a BFF, orchestrating multiple microservices.\r\n\r\n## Expected behaviour\r\n\r\n1) `aiohttp.ClientSession(disable_cookies=True)`\r\n2) `aiohttp.ClientConnPool()` and then just `pool.get()` with same syntax as session.\r\n\r\nIf there is a simple way to achieve one of these, an example in the docs would be awesome.\r\n\r\nThanks in advace!"}}
{"actor":{"display_login":"asvetlov"}}