diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -639,6 +639,8 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) callback! */ if(va_arg(param, long)) data->set.httpreq = HTTPREQ_POST; + else + data->set.httpreq = HTTPREQ_GET; break; case CURLOPT_POSTFIELDS: |