title: Serve all font files with an additional header in Spring MVC?
body: <p>I'd like to add the following HTTP header to all responses stemming from a request for a font-file in Spring MVC:</p>
  
  <p><code>Access-Control-Allow-Origin: *</code></p>
  
  <p>So, I know how to set up a simple static request mapping...</p>
  
  <p><code>&lt;mvc:resources mapping="/fonts/**" location="/fonts/" /&gt;</code></p>
  
  <p>But how can I add the necessary header? I know that I could implement a controller that responds to all <code>/fonts/</code> requests and adds the header, but that seems like major overkill. Is there something simpler/more lightweight?</p>