Szorc: Mercurial's Journey to and Reflections on Python 3
Szorc: Mercurial's Journey to and Reflections on Python 3
Posted Jan 17, 2020 19:12 UTC (Fri) by excors (subscriber, #95769)In reply to: Szorc: Mercurial's Journey to and Reflections on Python 3 by cortana
Parent article: Szorc: Mercurial's Journey to and Reflections on Python 3
The only restrictions on a header value (https://fetch.spec.whatwg.org/#concept-header-value) are that it can't contain 0x00, 0x0D or 0x0A, and can't have leading/trailing 0x20 or 0x09. (And browsers only agreed on rejecting 0x00 quite recently.)
So it's pretty much just bytes, and if you want to try interpreting it as Unicode then that's at your own risk.
Posted Jan 17, 2020 19:27 UTC (Fri)
by Cyberax (✭ supporter ✭, #52523)
[Link]
Szorc: Mercurial's Journey to and Reflections on Python 3