diff --git a/src/functions_framework/__init__.py b/src/functions_framework/__init__.py index 5d18d2ab..fa638505 100644 --- a/src/functions_framework/__init__.py +++ b/src/functions_framework/__init__.py @@ -35,8 +35,6 @@ ) from google.cloud.functions.context import Context -MAX_CONTENT_LENGTH = 10 * 1024 * 1024 - _FUNCTION_STATUS_HEADER_FIELD = "X-Google-Status" _CRASH = "crash" @@ -262,7 +260,6 @@ def create_app(target=None, source=None, signature_type=None): # Create the application _app = flask.Flask(target, template_folder=template_folder) - _app.config["MAX_CONTENT_LENGTH"] = MAX_CONTENT_LENGTH _app.register_error_handler(500, crash_handler) global errorhandler errorhandler = _app.errorhandler