Skip to content

Bug: Custom headers modified to lower case #258

@jindraf

Description

@jindraf

Custom headers names are modified to lower case by RESTED plugin. For instance, if I set "Authorization" text as a key of header, the server receives "authorization" (checked in browser devel tools). Servers strictly requesting "Authorization" are than failing with deny access.

Accept: /
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
test: xxxxxxx
DNT: 1
Connection: keep-alive
Cookie: PHPSESSID=xxxxxxxxxxxxxxxxxxxxxx
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Pragma: no-cache
Cache-Control: no-cache

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