lib/protocol/http1/error.rb in protocol-http1-0.27.0 vs lib/protocol/http1/error.rb in protocol-http1-0.28.0
- old
+ new
@@ -12,9 +12,12 @@
# The protocol was violated in some way, e.g. trying to write a request while reading a response.
class ProtocolError < Error
end
+ class LineLengthError < Error
+ end
+
# The request was not able to be parsed correctly, or failed some kind of validation.
class BadRequest < Error
end
# A header name or value was invalid, e.g. contains invalid characters.