aio-libs / aio-libs/aiohttp

HTTPRequestEntityTooLarge not raised when using request.multipart()

Open
#3,702 2 comments 0 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

## 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.

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.