Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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