Better error response to malformed headers (#35278)

This commit is contained in:
David Roetzel 2025-07-08 11:31:04 +02:00 committed by Claire
commit 333a17a478
4 changed files with 30 additions and 0 deletions

View file

@ -13,6 +13,7 @@ module Mastodon
class SyntaxError < Error; end
class InvalidParameterError < Error; end
class SignatureVerificationError < Error; end
class MalformedHeaderError < Error; end
class UnexpectedResponseError < Error
attr_reader :response