title: Resource interpreted as Document but transferred with MIME type application/zip:
body: <p>I'm unable to successfully download a file from the server using a Web API get call. The download seems to start but then Chrome throws:</p>
  
  <p><strong>"Resource interpreted as Document but transferred with MIME type application/zip"</strong></p>
  
  <p>Firefox doesn't say that but the download still fails.</p>
  
  <p>What am I doing wrong in the following setup?: </p>
  
  <pre><code>    [HttpGet, Route("api/extractor/downloadresults")]
      public HttpResponseMessage DownloadResultFiles()
      {
          int contentLength = 0;
          this.ResultFiles.ForEach(f =&gt; contentLength = contentLength + f.FileSize);
  
          var streamContent = new PushStreamContent((outputStream, httpContext, transportContent) =&gt;
          {
             ...zip files...
          });
  
          streamContent.Headers.ContentType = new MediaTypeHeaderValue("application/zip");
          streamContent.Headers.ContentLength = contentLength;
          streamContent.Headers.ContentDisposition = new ContentDispositionHeaderValue("attachment")
          {
              FileName = "result.zip"
          };
  
          var response = Request.CreateResponse();
  
          response.StatusCode = HttpStatusCode.OK;
          response.Content = streamContent;
      }
  </code></pre>
  
  <p>I trigger the download via:</p>
  
  <pre><code>  window.location.href = "api/extractor/downloadresults";
  </code></pre>
  
  <p>With the resulting headers:</p>
  
  <p><strong>Request Headers</strong></p>
  
  <pre><code>  Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
    Accept-Encoding:gzip,deflate,sdch
    Accept-Language:en-US,en;q=0.8
    Connection:keep-alive
    Cookie:ASP.NET_SessionId=ibwezezeutmu2gpajfnpf41p
    Host:localhost:47384
    Referer:http://localhost:47384/
    User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
  </code></pre>
  
  <p><strong>Response Headers</strong></p>
  
  <pre><code>  Cache-Control:no-cache
    Content-Disposition:attachment; filename=result.zip
    Content-Length:436102
    Content-Type:application/zip
    Date:Mon, 16 Dec 2013 22:36:31 GMT
    Expires:-1
    Persistent-Auth:true
    Pragma:no-cache
    Server:Microsoft-IIS/8.0
    X-AspNet-Version:4.0.30319
    X-Powered-By:ASP.NET
    X-SourceFiles:=?UTF-8?B?QzpcbmV3VG9vbGJveFxUb29sYm94XFRvb2xib3guV2ViXGFwaVx0ZXJtZXh0cmFjdG9yXGRvd25sb2FkcmVzdWx0ZmlsZXM=?=
  </code></pre>