Skip to content

Regexp "Content-Type"; TypeError: Cannot read properties of null (reading '0') #32

@daweedco

Description

@daweedco

Hello i want to signal an issue , if you send the headers with "content-type" instead of "Content-Type" you will face this error :

TypeError: Cannot read properties of null (reading '0').

Because there is a regexp in index.js checking only for "Content-Type" and not for "content-type"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions