Skip to content

Parse multi-value headers #10

Description

@AnrDaemon

The headers like Accept, Cookie, or Link (seen in API responses) may contain a comma-delimited semicolon-separated tables of values.

Examples:

link: <https://api.github.com/notifications?page=2&per_page=50>; rel="next", <https://api.github.com/notifications?page=11&per_page=50>; rel="last"

accept: text/html; q=1, text/plain; q=0.5

cookie: cpu_bucket=md; preferred_color_mode=dark; tz=Europe%2FMoscow

See also #5

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

    featNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions