Skip to content

[Small Bug] Splitting Sec-CH-UA should be by ',' instead of ', ' (whitespace) #118

@CosmicWolfe

Description

@CosmicWolfe

According to specs https://datatracker.ietf.org/doc/html/rfc8941#section-3.1 and here https://wicg.github.io/ua-client-hints/#http-headerdef-sec-ch-ua , the whitespace after the comma is optional.

My suggestion is to split by ',' and then trim whitespace after using .strip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions