forked from orbit-oss/flask
add config and docs for limits
This commit is contained in:
parent
62c56e08c4
commit
c7a53888a1
7 changed files with 231 additions and 33 deletions
|
|
@ -192,6 +192,8 @@ class Flask(App):
|
|||
"SESSION_COOKIE_SAMESITE": None,
|
||||
"SESSION_REFRESH_EACH_REQUEST": True,
|
||||
"MAX_CONTENT_LENGTH": None,
|
||||
"MAX_FORM_MEMORY_SIZE": 500_000,
|
||||
"MAX_FORM_PARTS": 1_000,
|
||||
"SEND_FILE_MAX_AGE_DEFAULT": None,
|
||||
"TRAP_BAD_REQUEST_ERRORS": None,
|
||||
"TRAP_HTTP_EXCEPTIONS": False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue