Use max_content_length of werkzeug Request
Werkzeug provides a way to restrict request content size which does not rely on Content-Length header.
Werkzeug provides a way to restrict request content size which does not rely on Content-Length header.