Update agent.cr
This commit is contained in:
parent
a20b63a515
commit
0c0c911077
@ -96,7 +96,7 @@ class Mechanize
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Sets a Referer header.
|
# Sets a Referer header.
|
||||||
def set_request_referer(referer : MechanizeCr::Page?)
|
def set_request_referer(referer : Mechanize::Page?)
|
||||||
return unless referer
|
return unless referer
|
||||||
|
|
||||||
request_headers["Referer"] = referer.uri.to_s
|
request_headers["Referer"] = referer.uri.to_s
|
||||||
|
Loading…
Reference in New Issue
Block a user