title: How do I make my CSS and JS files send HTTP response header
body: <p>We did a penetration testing on a web app created in Laravel 4. One of the findings is <em>"The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'"</em>. The PHP code below sends the HTTP header for the sniffing issue,</p>
  
  <pre><code>header('X-Content-Type-Options: nosniff');
  </code></pre>
  
  <p>Our second penetration testing showed the same findings for CSS and JS files. How do I get my CSS and JS files to send the same header? Or is there a way for me to have all files requesed send the HTTP header.</p>