title: Coldfusion: download PDF
body: <p>I have a URL that opens a PDF:</p>
  
  <pre><code>&lt;cfoutput&gt;http://myUrl.cfm?params=#many#&lt;cfoutput&gt;
  </code></pre>
  
  <p>I would like to enable my users to download that PDF instead of having it open in the browser. I've been trying the following, and it isn't working:</p>
  
  <pre><code>&lt;cfoutput&gt;    
  &lt;cfcontent type="application/pdf" file="http://myUrl.cfm?params=#many#"/&gt; 
  &lt;cfheader name="content-diposition" value="attachment; filename='http://myUrl.cfm?params=#many#'"&gt;
  &lt;cflocation url= "http://myUrl.cfm?params=#many#"/&gt;
  &lt;/cfoutput&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>