Added MAX_CONTENT_LENGTH config key

This commit is contained in:
Armin Ronacher 2010-07-14 10:47:57 +02:00
parent f8f8463f3a
commit b1790cca55
4 changed files with 18 additions and 1 deletions

View file

@ -193,7 +193,8 @@ class Flask(_PackageBoundObject):
'PERMANENT_SESSION_LIFETIME': timedelta(days=31),
'USE_X_SENDFILE': False,
'LOGGER_NAME': None,
'SERVER_NAME': None
'SERVER_NAME': None,
'MAX_CONTENT_LENGTH': None
})
def __init__(self, import_name, static_path=None):