Skip to content

connection header with capitalized values #120

Closed
@CrowdHailer

Description

@CrowdHailer

I came across a server today that sends connection: Close in the response.
I think this is in violation on the spec, however it should probably be accomodated

My reading of the spec suggests this is an error. The values of connection should be close or keep-alive, i.e. lowercase https://tools.ietf.org/html/rfc7230#section-6.1

The parser needs to be updated to handle connection values in a case insensitive manner.
https://github.com/CrowdHailer/raxx/blob/master/lib/raxx/http1.ex#L597-L605

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions