aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llhttpclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/llhttpclient.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/llmessage/llhttpclient.cpp b/linden/indra/llmessage/llhttpclient.cpp
index 1d38a13..8cb8344 100644
--- a/linden/indra/llmessage/llhttpclient.cpp
+++ b/linden/indra/llmessage/llhttpclient.cpp
@@ -37,6 +37,7 @@
37#include "llsdserialize.h" 37#include "llsdserialize.h"
38#include "llvfile.h" 38#include "llvfile.h"
39#include "llvfs.h" 39#include "llvfs.h"
40#include "lluri.h"
40 41
41#include "message.h" 42#include "message.h"
42#include <curl/curl.h> 43#include <curl/curl.h>
@@ -283,6 +284,14 @@ void LLHTTPClient::get(const std::string& url, ResponderPtr responder, const F32
283 request(url, LLURLRequest::HTTP_GET, NULL, responder, timeout); 284 request(url, LLURLRequest::HTTP_GET, NULL, responder, timeout);
284} 285}
285 286
287void LLHTTPClient::get(const std::string& url, const LLSD& query, ResponderPtr responder, const F32 timeout)
288{
289 LLURI uri;
290
291 uri = LLURI::buildHTTP(url, LLSD::emptyArray(), query);
292 get(uri.asString(), responder, timeout);
293}
294
286// A simple class for managing data returned from a curl http request. 295// A simple class for managing data returned from a curl http request.
287class LLHTTPBuffer 296class LLHTTPBuffer
288{ 297{