If you send a request without the start / for the request path, Puma will raise URI::InvalidURIError at
|
uri = URI.parse(env[REQUEST_URI]) |
Repro (have Puma running on port 8080) and do this
printf 'GET : HTTP/1.0\r\n\r\n' | nc localhost 8080
Should we turn this into Puma::HttpParserError?
Since getsentry/sentry-ruby#2026 I'm too well aware of these (but I don't want to exclude URI::InvalidURIError from my error reporting)