summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorAndrey Lihatskiy <andreylproductengine@lindenlab.com>2015-12-22 19:24:33 +0200
committerAndrey Lihatskiy <andreylproductengine@lindenlab.com>2015-12-22 19:24:33 +0200
commit579ed3849a5b5e2d1875c1232eab44ee2f9fe7ea (patch)
treec6d72fe898faef4b01023ab9819299712125bd67 /indra/llmessage
parent80bfd16cb0d4bbb025eda7d6b877c29c39971ea6 (diff)
parent60dfd55edaa5df0cb864dc5086037bc5625bc0be (diff)
Merged lindenlab/viewer-bear into default
Diffstat (limited to 'indra/llmessage')
-rwxr-xr-xindra/llmessage/llcurl.cpp5
-rwxr-xr-xindra/llmessage/llcurl.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmessage/llcurl.cpp b/indra/llmessage/llcurl.cpp
index 73df47b933..7e9ae8d108 100755
--- a/indra/llmessage/llcurl.cpp
+++ b/indra/llmessage/llcurl.cpp
@@ -178,6 +178,11 @@ void LLCurl::Responder::setURL(const std::string& url)
mURL = url;
}
+const std::string& LLCurl::Responder::getURL()
+{
+ return mURL;
+}
+
void LLCurl::Responder::successResult(const LLSD& content)
{
setResult(HTTP_OK, "", content);
diff --git a/indra/llmessage/llcurl.h b/indra/llmessage/llcurl.h
index 385d9fffa8..34758433c8 100755
--- a/indra/llmessage/llcurl.h
+++ b/indra/llmessage/llcurl.h
@@ -147,6 +147,7 @@ public:
public:
void setHTTPMethod(EHTTPMethod method);
void setURL(const std::string& url);
+ const std::string& getURL();
void setResult(S32 status, const std::string& reason, const LLSD& content = LLSD());
void setResponseHeader(const std::string& header, const std::string& value);