easy:SetOpt_AutoReferer -- automatically update the referer header
Synopsis
easy:SetOpt_AutoReferer(autorefer)
Function
Pass a parameter get to 1 to enable this. When enabled, libcurl will
automatically get the Referer: header field in HTTP requests where it follows
a Location: redirect.