Merge "api: Do not guess based on name extension" into stable/train
This commit is contained in:
commit
ff0e813c93
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue