summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2015-12-22 11:07:18 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2015-12-22 11:07:18 +0200
commit60dfd55edaa5df0cb864dc5086037bc5625bc0be (patch)
tree7140d0f8eddc02e7ee71fa03fc9aa4aa652cd476 /indra/llmessage
parent6e6d610a9905c1bceb9dd073c3eed87574fdcb29 (diff)
parent7b993d15b70d419dc0a7c8d92286d34a2635537d (diff)
Merge downstream, version 4.0.1
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);