title: Content-Disposition inline does not work in Chrome
body: <p>I have a simple asp net core endpoint which return email file:</p>
  <pre><code>        [HttpGet(&quot;files/{id:int}&quot;)]
          public async Task&lt;IActionResult&gt; GetFileAsync(int id)
          {
              ...
              var fileName = $&quot;{id}.msg&quot;;
              var filePath = ...;
              System.Net.Mime.ContentDisposition cd = new System.Net.Mime.ContentDisposition
              {
                  FileName = fileName,
                  Inline = true,
              };
              Response.Headers.Add(&quot;Content-Disposition&quot;, cd.ToString());
              return PhysicalFile(filePath, MimeTypes.GetMimeType(filePath));
          }
  </code></pre>
  <p>I want that browser tries to open file and it works in Firefox. But Chrome only downloads file even with <code>inline</code> <code>Content-Disposition</code>:</p>
  <pre><code>Content-Disposition: inline; filename=10979.msg
  Content-Length: 112128
  Content-Type: application/octet-stream
  Server: Microsoft-IIS/8.5
  </code></pre>
  <p>How to fix this?</p>