Method: Mechanize::HTTP::Agent#redirect_ok

Defined in:
lib/mechanize/http/agent.rb

#redirect_okObject

Controls how this agent deals with redirects. The following values are allowed:

:all, true

All 3xx redirects are followed (default)

:permanent

Only 301 Moved Permanently redirects are followed

false

No redirects are followed



71
72
73
# File 'lib/mechanize/http/agent.rb', line 71

def redirect_ok
  @redirect_ok
end