0

For HTTP resource representations delivered with an unknown-to-the-browser, custom media type, Google Chrome offers to download the representation into a file.

I would like to know how I can configure it to preview the representation in the browser instead of providing a download window for a list of media types of my choosing.

2
  • I don't think that will be possible. If the mediatype is unknown to chrome, how is it supposed to display a representation of a resource other than raw binary as text? May 10, 2016 at 8:31
  • What is the actual media type? Chrome seems to render content sent with text/vnd.whatever (because text/ suggests human-readable text), but will offer to download application/vnd.whatever even if it is sent with Content-Disposition: inline. However, Firefox doesn’t render even text/vnd.whatever. May 10, 2016 at 10:08

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.