2

I'm on MacOS Sierra. When I click on a link to XML file, Safari downloads it. Instead I want to view the XML right in the browser. Is there a way to accomplish this?

  • 1
    Safari seems to show XML files as XML, at least for me. Could you try viewing this? – saagarjha Jan 23 '17 at 20:17
  • I was able to view it! Oddly, when I try to open any maven-metadata.xml in my company's internal Artifactory repo, it promptly downloads it. – akirekadu Jan 23 '17 at 22:21
2

Safari does open XML files, unless the server specifically tells Safari to download the file.
It's currently not possible to override the server's instruction to download instead of view.

  • Honestly that's a better question. "Can you override download headers in safari?". – JBis Oct 29 '18 at 11:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .