aiohttp
aiohttp copied to clipboard
Asynchronous HTTP client/server framework for asyncio and Python
### Describe the bug Problem: Seemingly random no such file or directory errors when downloading/requesting a file from a website.  Function: [https://github.com/ohitstom/spicetify-easyinstall/blob/Spicetify-v2/modules/utils.py#L223#L264](url) Example Usage:  (globals.temp + "\\" +...
### Describe the bug Looks like cythonize is not integrated in setup.py and by this pep517 based build fails ### To Reproduce Run `/usr/bin/python3 -sBm build -w --no-isolation` in project...
## What do these changes do? Adding the possibility to pass `trace_request_ctx` when opening a Websocket connection. It's supported for all HTTP requests, but for some reason it was not...
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.2.0. Release notes Sourced from actions/setup-node's releases. Add current, node, latest aliases In scope of this release we added new aliases to install the latest...
### Describe the bug Hi, I have setup a webserver which handles some POST requests. This works fine, however when the server is running for some hours I start to...
In case the FileResponse is using _sendfile_fallback and the requested range is smaller then the chunk size, we need to only read and send count bytes. ## What do these...
### Describe the bug aiohttp doesn't build with Python 3.11 ### To Reproduce Build aiohttp with Python 3.11 ### Expected behavior Builds with Python 3.11 ### Logs/tracebacks ```python-traceback aiohttp/_http_writer.c: In...
### Describe the bug The `max_headers` argument is not used. It does not limit the number of headers allowed in a response. ### To Reproduce See the failing unittest https://github.com/aio-libs/aiohttp/blob/188852b8d9ff082ce7793f3f8d03128cc62f3ac1/tests/test_client_functional.py#L3155...
## What do these changes do? the result of those two code blocks are not the same. ```python import aiohttp jar = aiohttp.CookieJar(quote_cookie=False) async with aiohttp.ClientSession(cookie_jar=jar, cookies=cookies) as session: async...