-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
Triage-neededTriage needed by Cloud Shell teamTriage needed by Cloud Shell teambugSomething isn't workingSomething isn't working
Description
To Reproduce
python -m http.server 9000 &
curl -v http://localhost:9000
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.
Metadata
Metadata
Assignees
Labels
Triage-neededTriage needed by Cloud Shell teamTriage needed by Cloud Shell teambugSomething isn't workingSomething isn't working