Skip to content
This repository was archived by the owner on Feb 16, 2020. It is now read-only.
This repository was archived by the owner on Feb 16, 2020. It is now read-only.

cant "download" file dont know if its easily possible #19

Description

@M4rcellxD

I am using flask response for downloading a file within the normal browser

like this:

response = make_response('test')
response.headers["Cache-Control"] = "must-revalidate"
response.headers["Pragma"] = "must-revalidate"
response.headers["Content-type"] = "application/txt"
response.headers["Content-Disposition"] = "attachment; filename="test"
return response

and nothing happend and i dont know how to fix it.

Have found this but i don't know how to deal with it.

https://doc.qt.io/qt-5/qwebengineprofile.html#downloadRequested
https://code.qt.io/cgit/qt/qtwebengine.git/tree/src/webenginewidgets/api/qwebengineprofile.h#n106

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions