Skip to content

[Examples] Only add charset parameter to text mime types in content type header#1436

Merged
siku2 merged 1 commit into
yewstack:masterfrom
siku2:examples-fix-charset
Jul 22, 2020
Merged

[Examples] Only add charset parameter to text mime types in content type header#1436
siku2 merged 1 commit into
yewstack:masterfrom
siku2:examples-fix-charset

Conversation

@siku2
Copy link
Copy Markdown
Member

@siku2 siku2 commented Jul 22, 2020

Description

This is just a small patch for a bug which caused the web server (used for the examples) to provide an invalid content type because it always adds the charset parameter.
It also includes some QoL improvements such as logging the url of the web server and instructing the user how to stop it.
Finally, the code was formatted to comply with pep8 guidelines.

Fixes an issue related to #1417

Checklist:

  • I have run ./ci/run_stable_checks.sh
  • I have reviewed my own code
  • I have added tests

@siku2 siku2 merged commit 7f6543a into yewstack:master Jul 22, 2020
@siku2 siku2 deleted the examples-fix-charset branch July 22, 2020 12:38
jstarry pushed a commit that referenced this pull request Aug 16, 2020
teymour-aldridge pushed a commit to teymour-aldridge/yew that referenced this pull request Sep 1, 2020
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