Update agent.cr

master
Anton Maminov 2021-11-16 10:51:44 +02:00
parent a20b63a515
commit 0c0c911077
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class Mechanize
end
# Sets a Referer header.
def set_request_referer(referer : MechanizeCr::Page?)
def set_request_referer(referer : Mechanize::Page?)
return unless referer
request_headers["Referer"] = referer.uri.to_s