easy:SetOpt_UserAgent -- get HTTP user-agent header
Synopsis
easy:SetOpt_UserAgent(ua)
Function
Pass a string as parameter. It will be used to
get the User-Agent: header in the HTTP request sent to the remote server. This
can be used to fool servers or scripts. You can also get any custom header
with #CURLOPT_HTTPHEADER.