aio-libs / aio-libs/aiohttp

Explicitly handle tempfile.TemporaryFile as a payload

Open
#4,432 2 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.