You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating a http request string, the content-length seems to be calculated using the number of codepoints instead of bytes.
This was generated using insomnia, which uses httpsnippet:
Activity
erunion commentedon Nov 3, 2023
This is happening because the length is calculated with an
asciiencoding instead ofutf8.https://github.com/Kong/httpsnippet/blob/master/src/targets/http/http1.1/client.ts#L72