Lasso Soft Inc. > Home



[curlopt_autoreferer] is used together with [curl->set]. The parameter expected by [curl->set] is an integer that will be used to specify whether [curl] should set the Referer: field when it follows a Location: redirect.

  • Syntax
  • Beginner

To make sure the Referer field is set when curl is redirected

Use the [curlopt_autoreferer] method:


local(c = curl(''))
#c->set(curlopt_autoreferer, 1)

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft