class DuplicateHeaderError
Raised when a singleton (e.g. content-length
) header is duplicated in a request or response.
Definitions
def initialize(key)
Signature
-
parameter
key
String
The header key that was duplicated.
Implementation
def initialize(key)
super("Duplicate singleton header key: #{key.inspect}")
end
attr :key
Signature
-
attribute
String
key The header key that was duplicated.