diff options
| author | callum_linden <none@none> | 2015-08-04 15:47:37 -0700 |
|---|---|---|
| committer | callum_linden <none@none> | 2015-08-04 15:47:37 -0700 |
| commit | 230bc8614765c0973fb91bca68238b9abcd12adf (patch) | |
| tree | 8ccde7ba65ba2eb2d964c9e44e4a2ad6653111b2 /indra/llmessage/llhttpclient.cpp | |
| parent | a75a4e2a4f0b8bc65aa45368326fce0e6635c4ac (diff) | |
| parent | 310ec101dfd2c69ecc1a51d0a3a8ea12d5fdaf7a (diff) | |
Merge with viewer release
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 f8db3dded2..60f17e6870 100755 --- a/indra/llmessage/llhttpclient.cpp +++ b/indra/llmessage/llhttpclient.cpp @@ -572,6 +572,17 @@ void LLHTTPClient::patch( request(url, HTTP_PATCH, 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, HTTP_PUT, new RawInjector(data, size), responder, timeout, headers); +} + void LLHTTPClient::post( const std::string& url, const LLSD& body, |
