Azure CDN not serving my .html correctly

I installed some static content in the CDN, but when accessing the .html file, the file loads and does not display in the browser.

I use a blob container

http://cdn-dezelo-consulting01.azureedge.net/index.html

I do not know what I missed?

0
source share
1 answer

I followed the request / response through Fiddler and noticed that the property Content-Typeon your blob ( index.html) is set to application/octet-stream(which is the default content type for blob in Azure). It is for this reason that it loads, rather than being displayed in the browser, because the browser does not know how to deal with this type of content.

enter image description here

text/html, HTML- .

URL- Internet Explorer, ( , IE :). , IE, , ).

+4

Source: https://habr.com/ru/post/1621258/


All Articles