Skip to content
New issue

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

Serializing numbers#201

Open
jakearchibald opened this issue May 17, 2018 · 2 comments
Open

Serializing numbers #201

jakearchibald opened this issue May 17, 2018 · 2 comments

Comments

@jakearchibald
Copy link
Contributor

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.

@annevk
Copy link
Member

annevk commented May 18, 2018

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.

@jakearchibald
Copy link
Contributor Author

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.

@whatwg whatwg deleted a comment from Joepie007 Jul 7, 2023
@whatwg whatwg deleted a comment from hooooh2 Nov 25, 2023
@whatwg whatwg deleted a comment from hooooh2 Nov 25, 2023
@whatwg whatwg deleted a comment from hooooh2 Nov 25, 2023
@whatwg whatwg deleted a comment from hooooh2 Nov 25, 2023
@whatwg whatwg deleted a comment from hooooh2 Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants