The Content-Type header on both the V1 and V2 API incorrectly specifies the charset as utf8 when it should be utf-8 (see the IANA registered character set names), which is causing issues with HttpClient.GetFromJsonAsync in .NET 6.
@freaktechnik is this deployed to the site? Seems like https://api.twitchbots.info/v2/bot is still returning application/json;charset=utf8 as content type.
The
Content-Type
header on both the V1 and V2 API incorrectly specifies the charset asutf8
when it should beutf-8
(see the IANA registered character set names), which is causing issues withHttpClient.GetFromJsonAsync
in .NET 6.https://github.com/freaktechnik/twitchbots/blob/36c026bc35f8b49d4bb5c7090f579d2cea0e0bae/Mini/API/API.php#L47