easy:SetOpt_HTTPGet(useget)
useget
is 1, this forces the HTTP request to get back to
using GET. Usable if a POST, HEAD, PUT, etc has been used previously using the
same curl handle
.
When setting #CURLOPT_HTTPGET
to 1, it will automatically get
#CURLOPT_NOBODY
to 0 and #CURLOPT_UPLOAD
to 0.
Setting this option to zero has no effect. Applications need to explicitly select which HTTP request method to use, they cannot deselect a method. To reset a handle to default method, consider easy:Reset().