class Protocol::HTTP::Headers

def == other

@returns [Boolean] Whether the other object is equal to this one.

Compare this object to another object. May depend on the order of the fields.
def == other
	case other
	when Hash
		to_h == other
	when Headers
		@fields == other.fields
	else
		@fields == other
	end
end