From c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:44:49 -0500 Subject: Second Life viewer sources 1.13.3.2 --- linden/indra/llmessage/llhttpclient.cpp | 9 ++++++++- linden/indra/llmessage/llhttpclient.h | 4 +++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'linden/indra/llmessage') diff --git a/linden/indra/llmessage/llhttpclient.cpp b/linden/indra/llmessage/llhttpclient.cpp index 5f75e59..d94918e 100644 --- a/linden/indra/llmessage/llhttpclient.cpp +++ b/linden/indra/llmessage/llhttpclient.cpp @@ -26,8 +26,10 @@ */ #include "linden_common.h" -#include "llassetstorage.h" + #include "llhttpclient.h" + +#include "llassetstorage.h" #include "lliopipe.h" #include "llurlrequest.h" #include "llbufferstream.h" @@ -251,6 +253,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) { diff --git a/linden/indra/llmessage/llhttpclient.h b/linden/indra/llmessage/llhttpclient.h index c6b68b2..d48d084 100644 --- a/linden/indra/llmessage/llhttpclient.h +++ b/linden/indra/llmessage/llhttpclient.h @@ -35,8 +35,10 @@ #include #include -#include "llassetstorage.h" +#include "llassettype.h" + +class LLUUID; class LLPumpIO; class LLSD; -- cgit v1.1