title: http download file name
body: <p>May i know how to assign a file-name to a a-href file download.</p>
  
  <pre><code>&lt;a href="http://localhost:8080/couch/getFile?dbName=xxx&amp;file=test.xml"&gt;get-file&lt;/a&gt;
  </code></pre>
  
  <p>On right-clicking and Save as: A services running on the background will return test.xml contents and the user can save it locally. But here everytime user needs to type a filename for saving. Instead i'm thinking to pull the test.xml. May i know how to tell the browser to use "test.xml" as a download file name?</p>
  
  <p>Will setting headers on HTTP response would work? if so may i know how we can do that?</p>