问题描述:

I have a list of checkbox which the user can select and a form button to download selected files. (Web server and language not mentioned on purpose because is not relevant for this specific question)

I receive the HTTP response from my web server app, response is correct checking with Firefox web developer extension (F12) but Save dialog yet doesn't appear.

I have tried all combinations of content-type and content-disposition, response codes, etc.

Even worse, with the same web server I checked using links instead of checkbox and Save dialog appears correctly when clicking on both text and binary files.

What else can I try?

Can I send a "Content-Disposition: attachment" response from a POST?

相关阅读:
Top