Skip to content
Snippets Groups Projects
Unverified Commit c9f4177d authored by Will McCutchen's avatar Will McCutchen Committed by GitHub
Browse files

Consistently parse and validate user-provided status codes (#137)

In testing out error handling after #135, I happened to stumble across
an unexpected panic for requests like `/status/1024` where the
user-provided status code is outside the legal bounds. So, here we take
a quick pass to ensure we're parsing and validating status codes the
same way everywhere.
parent 9e306405
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment