aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llurlrequest.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:22 -0500
committerJacek Antonelli2008-08-15 23:45:22 -0500
commit1e8e051fafa147fc3375bf7693c781e3be17b6d4 (patch)
tree071633b1e27b13f52619ea60a58338bfab34538a /linden/indra/llmessage/llurlrequest.cpp
parentSecond Life viewer sources 1.18.6.0-RC (diff)
downloadmeta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.zip
meta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.tar.gz
meta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.tar.bz2
meta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.tar.xz
Second Life viewer sources 1.18.6.1-RC
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);