aio-libs / aio-libs/aiohttp

HTTPRequestEntityTooLarge not raised when using request.multipart()

Aperta
#3,702 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
16.5k
Fork
2.4k
Merge medio
17h 22m
PR unite (30g)
212

Descrizione

## Long story short

processing a request using

```py
reader = await request.multipart()
foobar = await reader.next()
...
```
Should raise `HTTPRequestEntityTooLarge` if the request size exceeds `client_max_size`, currently I think it does not.

At the very least this should be documented.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.