summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2015-12-22 17:59:01 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2015-12-22 17:59:01 +0200
commitb095e2c985680660d61a99e8dbac78d9113b9870 (patch)
tree171d31162fcb58f05c440de7ae383c7a88819a43 /indra/llmessage
parent49fa9b5515e708083c85aaa2b1b522bc266944c4 (diff)
parent60dfd55edaa5df0cb864dc5086037bc5625bc0be (diff)
Merge
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);