Explicitly handle tempfile.TemporaryFile as a payload
Open
enhancement
- Dominant language
- Python
- Stars
- 16.5k
- Forks
- 2.4k
- Avg merge
- 17h 22m
- Merged PRs (30d)
- 212
Description
`aiohttp.payload.PAYLOAD_REGISTRY.register(aiohttp.payload.IOBasePayload, tempfile.TemporaryFile)` is probably enough.
The test is required.
See https://bugs.python.org/issue33762 for the context
Contributor guide
Assessment
This issue has not been assessed yet.