Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check existence of content-type header before using indexOf #95

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

v3rse
Copy link

@v3rse v3rse commented Jan 18, 2019

Closes #94

  • prevents an unhandled promise exception from being thrown when a
    content type isn't provided.

This prevents an unhandled promise exception from being thrown when a
content type isn't provided.
@Zara603
Copy link

Zara603 commented Dec 6, 2019

why this branch has not been merged yet?

@v3rse
Copy link
Author

v3rse commented Dec 6, 2019

@Zara603 Not sure this project is actively maintained like the others. @rauchg can we get some eyes on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UnhandledPromiseRejectionWarning thrown when content-type is not sent
2 participants