dotnet-websharper / owin

Wrappers for hosting WebSharper sitelets and remoting components in OWIN projects
Apache License 2.0
10 stars 9 forks source link

Quoted charset fails to parse #23

Open Tarmil opened 5 years ago

Tarmil commented 5 years ago

If a request contains a header like this:

Content-type: text/html; charset="utf-8"

we fail with error 500. We should:

  1. successfully parse a charset wrapped in quotes.
  2. default to utf-8, rather than fail with error 500, when not recognizing a charset.