Skip to content

webrepl: send Content-Type: text/html for index#1076

Open
allisonkarlitskaya wants to merge 1 commit intomicropython:masterfrom
allisonkarlitskaya:webrepl-content-type
Open

webrepl: send Content-Type: text/html for index#1076
allisonkarlitskaya wants to merge 1 commit intomicropython:masterfrom
allisonkarlitskaya:webrepl-content-type

Conversation

@allisonkarlitskaya
Copy link

If we don't do this then Firefox incorrectly guesses text/plain and just shows the source. Adding the Content-Type: fixes the issue.

If we don't do this then Firefox incorrectly guesses text/plain and
just shows the source.  Adding the Content-Type: fixes the issue.

Signed-off-by: Allison Karlitskaya <allison.karlitskaya@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant