diff options
author | Merov Linden <merov@lindenlab.com> | 2014-05-05 15:58:15 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-05-05 15:58:15 -0700 |
commit | d24ff0bf0adeae1ce000551e3b9bdac528f5c162 (patch) | |
tree | f511055ea3ac714748663e3149a8216e238881a6 /indra/llmessage/llhttpclient.cpp | |
parent | 1a837c5719fa8dded91561a97839d2ed28e87553 (diff) |
DD-22 : WIP : Implement putRaw() on LLHTTPClient
Diffstat (limited to 'indra/llmessage/llhttpclient.cpp')
-rwxr-xr-x | indra/llmessage/llhttpclient.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llmessage/llhttpclient.cpp b/indra/llmessage/llhttpclient.cpp index 11648717ad..f80d8a0e43 100755 --- a/indra/llmessage/llhttpclient.cpp +++ b/indra/llmessage/llhttpclient.cpp @@ -565,6 +565,17 @@ void LLHTTPClient::put( request(url, LLURLRequest::HTTP_PUT, new LLSDInjector(body), responder, timeout, headers); } +void LLHTTPClient::putRaw( + const std::string& url, + const U8* data, + S32 size, + ResponderPtr responder, + const LLSD& headers, + const F32 timeout) +{ + request(url, LLURLRequest::HTTP_PUT, new RawInjector(data, size), responder, timeout, headers); +} + void LLHTTPClient::post( const std::string& url, const LLSD& body, |