Open Bug 1835216 Opened 3 years ago Updated 6 months ago

Support non-UTF8 headers / cookies in network events

Categories

(Remote Protocol :: WebDriver BiDi, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Blocks 2 open bugs, )

Details

(Whiteboard: [webdriver:backlog])

At the moment, all headers/cookies are returned with a value field, we don't attempt to create a binaryValue field for non-UTF8 headers/cookies.

Note that there is an issue in progress to change the encoding of those values to use base64 and potentially stop using binaryValue but instead consistently use value with an additional type field: https://github.com/w3c/webdriver-bidi/issues/432

Blocks: 1790371
Priority: -- → P3
Whiteboard: [webdriver:backlog]
Depends on: 1842619

For reference, the following web platform test can be used to get some examples: http://wpt.live/fetch/api/headers/header-values.any.html

See Also: → 1879309

I might add support for non utf8 values while addressing Bug 1994996. We would still have to add tests here.

See Also: → 1994996
You need to log in before you can comment on or make changes to this bug.