lib/protocol/http1/error.rb in protocol-http1-0.8.0 vs lib/protocol/http1/error.rb in protocol-http1-0.8.1
- old
+ new
@@ -23,9 +23,15 @@
module Protocol
module HTTP1
class Error < HTTP::Error
end
+ class InvalidMethod < Error
+ end
+
+ class InvalidRequest < Error
+ end
+
# The request was parsed correctly, but was invalid for some other reason.
class BadRequest < Error
end
end
end