Merge "api: Do not guess based on name extension" into stable/train

This commit is contained in:
Zuul 2020-05-28 00:55:53 +00:00 committed by Gerrit Code Review
commit ff0e813c93
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ def setup_app(config=None):
app_conf.pop('root'),
logging=getattr(config, 'logging', {}),
wrap_app=middleware.ParsableErrorMiddleware,
guess_content_type_from_ext=False,
**app_conf
)