class Protocol::HTTP::Response

def failure?

Whether the status is considered a failure.
def failure?
	@status and @status >= 400 && @status < 600
end