diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-06 15:14:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-06 15:14:10 +0000 |
commit | 8ed44e8dfbe2182696becc3ca8a9950888251503 (patch) | |
tree | 28f9e3b26fedd0c2041898e53abb81799b5f5b38 /lib/file.c | |
parent | f617c1131a939b88544d7923db557437df31e433 (diff) |
New authentication code added, particularly noticable when doing POST or PUT
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication
and when done perform the requested POST.
Diffstat (limited to 'lib/file.c')
-rw-r--r-- | lib/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file.c b/lib/file.c index 72e835272..3977a73e5 100644 --- a/lib/file.c +++ b/lib/file.c @@ -196,7 +196,7 @@ CURLcode Curl_file(struct connectdata *conn) /* If we have selected NOBODY and HEADER, it means that we only want file information. Which for FILE can't be much more than the file size and date. */ - if(data->set.no_body && data->set.include_header && fstated) { + if(conn->bits.no_body && data->set.include_header && fstated) { CURLcode result; sprintf(buf, "Content-Length: %" FORMAT_OFF_T "\r\n", expected_size); result = Curl_client_write(data, CLIENTWRITE_BOTH, buf, 0); |