Explicitly handle tempfile.TemporaryFile as a payload
Offen
enhancement
- Vorherrschende Sprache
- Python
- Sterne
- 16.5k
- Forks
- 2.4k
- Ø Merge
- 17 Std. 22 Min.
- Gemergte PRs (30 T.)
- 212
Beschreibung
`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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.