Skip to content

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

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"

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions