Skip to content

RequestHeader type edge cases #80

@maddie927

Description

@maddie927

The way the RequestHeader type is built brings up some possibly undefined edge cases. For example, this returns false:

ContentType applicationJSON == RequestHeader "Content-Type" "application/json"

And are these the same?

affjax $ defaultRequest { headers = [ ContentType applicationJSON ] }
affjax $ defaultRequest { headers = [ RequestHeader "Content-Type" "application/json" ] }

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