aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llurlrequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmessage/llurlrequest.cpp')
-rw-r--r--linden/indra/llmessage/llurlrequest.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/llmessage/llurlrequest.cpp b/linden/indra/llmessage/llurlrequest.cpp
index 857f804..8df4be4 100644
--- a/linden/indra/llmessage/llurlrequest.cpp
+++ b/linden/indra/llmessage/llurlrequest.cpp
@@ -428,6 +428,13 @@ bool LLURLRequest::configure()
428 NULL); 428 NULL);
429 switch(mAction) 429 switch(mAction)
430 { 430 {
431 case HTTP_HEAD:
432 curl_easy_setopt(mDetail->mCurl, CURLOPT_HEADER, 1);
433 curl_easy_setopt(mDetail->mCurl, CURLOPT_NOBODY, 1);
434 curl_easy_setopt(mDetail->mCurl, CURLOPT_FOLLOWLOCATION, 1);
435 rv = true;
436 break;
437
431 case HTTP_GET: 438 case HTTP_GET:
432 curl_easy_setopt(mDetail->mCurl, CURLOPT_HTTPGET, 1); 439 curl_easy_setopt(mDetail->mCurl, CURLOPT_HTTPGET, 1);
433 curl_easy_setopt(mDetail->mCurl, CURLOPT_FOLLOWLOCATION, 1); 440 curl_easy_setopt(mDetail->mCurl, CURLOPT_FOLLOWLOCATION, 1);