当前位置: 动力学知识库 > 问答 > 编程问答 >

forms - Web Save Dialog is not displayed with POST

问题描述:

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?

分享给朋友:
您可能感兴趣的文章:
随机阅读: