summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermedia.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2011-07-29 17:06:40 -0700
committerLeyla Farazha <leyla@lindenlab.com>2011-07-29 17:06:40 -0700
commit5cf4d63a82e2b6c2546a2bb5ef13ef142fc07cb9 (patch)
treec1bac31123235c606c0bf594d4c2e8ea6720bbd9 /indra/newview/llviewermedia.cpp
parentadf39dd1473039a8ab9624fa67f3a927fe22b8fe (diff)
attempting to do the outbox import
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r--indra/newview/llviewermedia.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index 384f7cd61d..d5a8772461 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -1394,6 +1394,17 @@ public:
}
};
+
+LLSD LLViewerMedia::getHeaders()
+{
+ LLSD headers = LLSD::emptyMap();
+ headers["Accept"] = "*/*";
+ headers["Cookie"] = sOpenIDCookie;
+ headers["User-Agent"] = getCurrentUserAgent();
+
+ return headers;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// static
void LLViewerMedia::setOpenIDCookie()