title: Zend Framework how to set headers
body: <p>I have a question, how can I do something like this:</p>
  <pre><code>header(&quot;Content-Disposition: inline; filename=result.pdf&quot;); 
  header(&quot;Content-type: application/x-pdf&quot;); 
  </code></pre>
  <p>With Zend Framework, I have tried:</p>
  <pre><code>        $this-&gt;getResponse()
          -&gt;setHeader('Content-Disposition:inline', ' filename=result.pdf')
          -&gt;setHeader('Content-type', 'application/x-pdf');
  </code></pre>
  <p>But doesn't work correctly.</p>