Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can I get Bitbucket Server to permit the browser to render raw HTML?

Bruce Adams April 2, 2020

I have a Bitbucket repository that contains some HTML files. I would like to allow users browsing files in the repository through Bitbucket's web interface to see those HTML files rendered in their browser.

Right now, clicking on Raw file for the HTML includes an HTTP header:

Content-Disposition: attachment

telling the browser to download the HTML file instead of displaying it.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events