[curlopt_maxredirs] is used with [curl->set]. The parameter expected by [curl->set] is an integer. The value sets the number of times curl will repeat the recursive following of the Location: header.
local(c = curl('www.example.com/login')) #c->set(curlopt_followlocation, 1) #c->set(curlopt_maxredirs, 10) #c->result
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft