class Mechanize
Private Instance Methods
fetch_page(params)
click to toggle source
# File lib/ntlm/mechanize.rb, line 30 def fetch_page(params) begin fetch_page_without_ntlm(params) rescue Mechanize::ResponseCodeError => e if e.response_code == '401' && e.page.header['www-authenticate'] =~ /NTLM/ && @auth_hash[e.page.uri.host] != :ntlm @auth_hash[e.page.uri.host] = :ntlm fetch_page_without_ntlm(params) else raise end end end
Also aliased as: fetch_page_without_ntlm