jasim opened this issue 14 years ago · 1 comments
Create a mixin that can be used in the Response class of any HTTP adapter, roughly:
def response.ok? self.code == 200 end
Closed by f877569 - Add Response Code checkers to response objects