GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://url.spec.whatwg.org/#serialize-an-integer - I'm going to do something similar to this in the Fetch spec, for adding numbers to a header.
Feels like something infra should take care of.
It might become part of #193.
Thanks for opening a tracking issue. The URL and Fetch case are slightly different as URL wants a string and Fetch wants a byte sequence.
This should be easier to fix once we have #87 in place.
In Fetch I'm treating it as if it returns a string, since that's what I imagine we'll end up with. UTF-8 encoding turns the string into a byte sequence.