You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure web preview to port 9000 and click "Open and browse"
Observed Behavior
The curl command returns the right content-type text/html.
The web preview page returns a content-type of application/json and therefore the page is not rendered correctly.
Expected behavior
I would expect the web preview the web preview to return the same content-type as the service returns such that the browser will render it correctly
Is this specific to Cloud Shell?
Yes, as I showed curl returns the right header.
Interface information
Edge on Mac OS
Additional context
None
This seems like a very basic usage of the web preview feature so I might be missing something. I would appreciate your help in making it work. Thank you.
The text was updated successfully, but these errors were encountered:
Tried this on Chrome; Web preview is serving a file that curl says is text/html as application/json, which makes the feature entirely worthless. How can I get Web preview to stop screwing up the mime type?
To Reproduce
Configure web preview to port 9000 and click "Open and browse"
Observed Behavior
The curl command returns the right content-type
text/html
.The web preview page returns a content-type of
application/json
and therefore the page is not rendered correctly.Expected behavior
I would expect the web preview the web preview to return the same content-type as the service returns such that the browser will render it correctly
Is this specific to Cloud Shell?
Yes, as I showed curl returns the right header.
Interface information
Edge on Mac OS
Additional context
None
This seems like a very basic usage of the web preview feature so I might be missing something. I would appreciate your help in making it work. Thank you.
The text was updated successfully, but these errors were encountered: