title: How to get response-content-type working for Google Cloud Storage signedUrl
body: <p>I have a .pdf object stored in Google Cloud Storage with C<em>ontent-Type = application/octet-stream</em>.</p>
  
  <p>When giving temporary access through a signed URL, I extend the URL with:</p>
  
  <pre><code>&amp;response-content-type=application%2Fpdf
  </code></pre>
  
  <p>Nevertheless, the response coming back from Google Cloud Storage still contains <em>Content-Type = application/octet-stream</em></p>
  
  <p>Inspecting the request + response through the browser confirms this behaviour.</p>
  
  <p>According to the documentation (<a href="https://cloud.google.com/storage/docs/xml-api/reference-headers#responsecontenttype" rel="nofollow noreferrer">https://cloud.google.com/storage/docs/xml-api/reference-headers#responsecontenttype</a>) the response-content-type should ensure <em>Content-Type = application/pdf</em> in my example.</p>
  
  <p>For another usecase, I am succesfully making use of the <em>Content-Disposition</em> override via <em>response-content-disposition</em>, so I am very curious why the response-content-type is not working for me.</p>
  
  <p>Anyone any idea what I am missing to make this work?</p>
  
  <p>Thanks!</p>