<a href=""> tag doesn&#39;t execute

时间:2017-05-18 09:38:00

标签: python html cgi

I am referencing a Python CGI script from another Python CGI script by using <a href> tag. While it opens in a new tab in the browser, it doesn't execute by itself. However, when i refresh the tab, it does get executed. By the way, i know that i could provide a submit button which could execute the script. However, i am using the script to download a file stored on the server and hence using Content-Type:application/csv and Content-Disposition: attachment HTTP headers

0 个答案:

没有答案
相关问题