Method: Mongrel2::HTTPResponse#status_is_redirect?
- Defined in:
- lib/mongrel2/httpresponse.rb
#status_is_redirect? ⇒ Boolean
Return true if response is in the 3XX range
118 119 120 |
# File 'lib/mongrel2/httpresponse.rb', line 118 def status_is_redirect? return self.status_category == 3 end |