diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-30 11:09:16 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-30 11:09:16 +0000 |
commit | 185baf036b9bcfe1386a6fd1549ca5403ec66812 (patch) | |
tree | ce3382929e562ad910fc6628d9e6fd14c3fa329d /lib | |
parent | 352361382692256dd94040ce3ba54b079658135e (diff) |
NOBODY set TRUE after a POST makes a good HEAD now
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -488,6 +488,9 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) * Do not include the body part in the output data stream. */ data->set.opt_no_body = va_arg(param, long)?TRUE:FALSE; + if(data->set.opt_no_body) + /* in HTTP lingo, this means using the HEAD request */ + data->set.httpreq = HTTPREQ_HEAD; break; case CURLOPT_FAILONERROR: /* |