class Mechanize::Chain::AuthHeaders
Public Instance Methods
handle(ctx, params)
click to toggle source
# File lib/ntlm/mechanize.rb, line 12 def handle(ctx, params) if @auth_hash[params[:uri].host] == :ntlm && @user && @password if @user.index('\') domain, user = @user.split('\', 2) end params[:request].ntlm_auth(user, domain, @password) end handle_without_ntlm(ctx, params) end
Also aliased as: handle_without_ntlm