mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-10 10:15:10 -04:00
adding mime type to api response
This commit is contained in:
parent
28253053ff
commit
08ce6aed76
3 changed files with 3 additions and 0 deletions
1
main.py
1
main.py
|
@ -147,6 +147,7 @@ def create_app(test_config=None):
|
|||
key, meta_after, output_filename = cleanup(parser, filepath)
|
||||
return {
|
||||
'output_filename': output_filename,
|
||||
'mime': mime,
|
||||
'key': key,
|
||||
'meta': meta,
|
||||
'meta_after': meta_after,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue