summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermedia.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-06-01 16:56:42 -0700
committerRider Linden <rider@lindenlab.com>2015-06-01 16:56:42 -0700
commit2abfc14946dc7c544e74931cfe1df887e508a936 (patch)
tree79f4bd285fb9759902838a36b0c484f0ff6b3e4d /indra/newview/llviewermedia.cpp
parent68da6fa846fee1e3c5fb478945ef54f83a86aacd (diff)
Marketplace vendor outbox. Incomplete conversion. Still issues with redirection.
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rwxr-xr-xindra/newview/llviewermedia.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index 33421cba90..6784c97192 100755
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -1205,6 +1205,18 @@ LLSD LLViewerMedia::getHeaders()
return headers;
}
+LLCore::HttpHeaders::ptr_t LLViewerMedia::getHttpHeaders()
+{
+ LLCore::HttpHeaders::ptr_t headers(new LLCore::HttpHeaders);
+
+ headers->append(HTTP_OUT_HEADER_ACCEPT, "*/*");
+ headers->append(HTTP_OUT_HEADER_CONTENT_TYPE, HTTP_CONTENT_XML);
+ headers->append(HTTP_OUT_HEADER_COOKIE, sOpenIDCookie);
+ headers->append(HTTP_OUT_HEADER_USER_AGENT, getCurrentUserAgent());
+
+ return headers;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// static
void LLViewerMedia::setOpenIDCookie()