summaryrefslogtreecommitdiff
path: root/indra/llmessage/llhttpclient.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2007-01-31 19:36:32 +0000
committerSteven Bennetts <steve@lindenlab.com>2007-01-31 19:36:32 +0000
commit934e15973ea86e0e863123d4c5eabeae44d6c763 (patch)
treec4d9ff93e1d9283c4807981ecf1973babf620143 /indra/llmessage/llhttpclient.cpp
parent565e6873decfaadf9eda2d0109132eb64c0ad325 (diff)
merge release@57486 release-candidate@57503
Diffstat (limited to 'indra/llmessage/llhttpclient.cpp')
-rw-r--r--indra/llmessage/llhttpclient.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llmessage/llhttpclient.cpp b/indra/llmessage/llhttpclient.cpp
index 38dee26723..7d51b6c722 100644
--- a/indra/llmessage/llhttpclient.cpp
+++ b/indra/llmessage/llhttpclient.cpp
@@ -7,8 +7,10 @@
*/
#include "linden_common.h"
-#include "llassetstorage.h"
+
#include "llhttpclient.h"
+
+#include "llassetstorage.h"
#include "lliopipe.h"
#include "llurlrequest.h"
#include "llbufferstream.h"
@@ -232,6 +234,11 @@ void LLHTTPClient::post(const std::string& url, const LLSD& body, ResponderPtr r
request(url, LLURLRequest::HTTP_POST, new LLSDInjector(body), responder);
}
+void LLHTTPClient::del(const std::string& url, ResponderPtr responder)
+{
+ request(url, LLURLRequest::HTTP_DELETE, NULL, responder);
+}
+
#if 1
void LLHTTPClient::postFile(const std::string& url, const std::string& filename, ResponderPtr responder)
{