title: Action name being displayed in PDF toolbar in browser. Setting ContentDisposition does not affect it
body: <p>Controller code:</p>
  
  <pre><code>[HttpGet]
  public FileStreamResult GETPDF(string guid)
  {
    var stream = XeroHelper.GetXeroPdf(guid).Result;
    stream.Position = 0;
    var cd = new ContentDisposition
    {
       FileName = $"{guid}.pdf",
       Inline = true
    };
  
    Response.AppendHeader("Content-Disposition", cd.ToString());
    return File(stream, "application/pdf");
  }
  </code></pre>
  
  <p>As you can see the method's name is GETPDF. You can also see that I am configuring the name of the file name in the ContentDisposition header. If you see below, you will see that the method name is used as the title in the toolbar, rather than the file name. </p>
  
  <p><a href="https://i.stack.imgur.com/UGPca.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UGPca.png" alt="enter image description here"></a></p>
  
  <p>The file name does get perpetuated. When I click "Download" the filename is the default value that is used in the file picker (note i changed the name to hide the sensitive guid): </p>
  
  <p><a href="https://i.stack.imgur.com/ER1Jk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ER1Jk.png" alt="enter image description here"></a></p>
  
  <p>If anyone has any ideas how to rename the title of that toolbar, it would be greatly appreciated.</p>
  
  <p>As an aside, this is NOT a duplicate of: <a href="https://stackoverflow.com/questions/34890641/c-sharp-mvc-chrome-using-the-action-name-to-set-inline-pdf-title">C# MVC: Chrome using the action name to set inline PDF title</a> as no answer was accepted and the only one with upvotes has been implemented in my method above and still does not work. </p>
  
  <p>Edit- For clarification, I do not want to open the PDF in a new tab. I want to display it in a viewer in my page. This behavior is already happening with the code I provided, it is just the Title that is wrong and coming from my controller method name. Using the controller code, I am then showing it in the view like so:</p>
  
  <pre><code>&lt;h1&gt;Quote&lt;/h1&gt;
  &lt;object data="@Url.Action("GETPDF", new { guid = @Model.QuoteGuid })" type="application/pdf" width="800" height="650"&gt;&lt;/object&gt;
  
  </code></pre>