Merge "api: Do not guess based on name extension"

This commit is contained in:
Zuul 2020-05-27 07:57:08 +00:00 committed by Gerrit Code Review
commit 489ec91772
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,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
)