title: http header string with white spaces saved with extra quotation marks?
body: <p>I ran into this weird thing. 
  Im trying to avoid adding the whole code as its long and kinda private but the issue is:</p>
  
  <pre><code>// string has no white spaces:
  
  string fileName = "noWhiteSpacesHere" + ".pdf";
  response.StatusCode = HttpStatusCode.OK;
  response.Content = new ByteArrayContent(fileData);
  response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/pdf");
  response.Content.Headers.ContentDisposition = new System.Net.Http.Headers.ContentDispositionHeaderValue("attachment") {FileName = fileName };
  
  // ContentDispositionHeaderValue("attachment") = "noWhiteSpacesHere.pdf"
  </code></pre>
  
  <p>but in contrast:</p>
  
  <pre><code>// string has white spaces:
  
  string fileName = "some white spaces" + ".pdf";
  response.StatusCode = HttpStatusCode.OK;
  response.Content = new ByteArrayContent(fileData);
  response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/pdf");
  response.Content.Headers.ContentDisposition = new System.Net.Http.Headers.ContentDispositionHeaderValue("attachment") {FileName = fileName };
  
  // ContentDispositionHeaderValue("attachment") = "\"some white spaces.pdf\""
  </code></pre>
  
  <p>**</p>
  
  <ul>
  <li>note the extra quotation marks on the second example. </li>
  <li>when i check
  the "fileName" parameter it does not show these extra quotation marks
  and they appear only in the content disposition header.</li>
  <li>white spaces should be supported. i cant trim/replace etc.</li>
  </ul>
  
  <p>**</p>
  
  <p>i hope this is enough.
  do u guys know the reason?
  how can i stop this?</p>
  
  <p>if any code is crucially missing let me know.</p>
  
  <p>thanks!</p>