diff options
author | Rider Linden <none@none> | 2015-04-10 17:23:58 -0700 |
---|---|---|
committer | Rider Linden <none@none> | 2015-04-10 17:23:58 -0700 |
commit | d0c85b6dd964164b6d92103ad65b5cd859197de2 (patch) | |
tree | 4d6cfc9fe3db9b42ce1b1fe7acc373ab9cba7ca2 /indra/llcorehttp/_httpoprequest.h | |
parent | 794cdbc2ae2d7078a7af5319e84667f0d6b15297 (diff) |
Adding support for DELETE, PATCH and COPY
Diffstat (limited to 'indra/llcorehttp/_httpoprequest.h')
-rwxr-xr-x | indra/llcorehttp/_httpoprequest.h | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/indra/llcorehttp/_httpoprequest.h b/indra/llcorehttp/_httpoprequest.h index e71d1d1edf..ca40898a81 100755 --- a/indra/llcorehttp/_httpoprequest.h +++ b/indra/llcorehttp/_httpoprequest.h @@ -80,7 +80,10 @@ public: { HOR_GET, HOR_POST, - HOR_PUT + HOR_PUT, + HOR_DELETE, + HOR_PATCH, + HOR_COPY }; virtual void stageFromRequest(HttpService *); @@ -126,7 +129,26 @@ public: HttpOptions * options, HttpHeaders * headers); - // Internal method used to setup the libcurl options for a request. + HttpStatus setupDelete(HttpRequest::policy_t policy_id, + HttpRequest::priority_t priority, + const std::string & url, + HttpOptions * options, + HttpHeaders * headers); + + HttpStatus setupPatch(HttpRequest::policy_t policy_id, + HttpRequest::priority_t priority, + const std::string & url, + BufferArray * body, + HttpOptions * options, + HttpHeaders * headers); + + HttpStatus setupCopy(HttpRequest::policy_t policy_id, + HttpRequest::priority_t priority, + const std::string & url, + HttpOptions * options, + HttpHeaders * headers); + + // Internal method used to setup the libcurl options for a request. // Does all the libcurl handle setup in one place. // // Threading: called by worker thread |