Update agent.cr

This commit is contained in:
Anton Maminov 2021-11-16 10:51:44 +02:00
parent a20b63a515
commit 0c0c911077

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