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

chore(*) add some sanity checks and auto-coercion #125

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

Tieske
Copy link
Contributor

@Tieske Tieske commented Feb 17, 2023

  • coerces request headers to lowercase, with case-insensitive lookup
  • coerces statuscodes to numbers
  • sanity checks to throw errors if something unexpected is done, instead of failing silently

coerces request headers to lowercase, with case-insensitive lookup
coerces statuscodes to numbers
sanity checks to throw errors if something unexpected is done
@EvandroLG
Copy link
Owner

LGTM! Thanks again @Tieske!
Btw, did you have a chance to look at this comment: #119 (comment)
We need to solve that before merging this PR.

@Tieske
Copy link
Contributor Author

Tieske commented Feb 18, 2023

good catch, that's done in #126

@EvandroLG EvandroLG merged commit d44a9a1 into EvandroLG:master Feb 27, 2023
@Tieske Tieske deleted the sanity-checks branch February 27, 2023 22:26
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.

None yet

2 participants