diff options
author | Don Kjer <don@lindenlab.com> | 2013-07-11 15:15:04 -0700 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2013-07-11 15:15:04 -0700 |
commit | a85fa3b10a406218cabfecc0d592e816f8dfdb53 (patch) | |
tree | 403ae646796518c876454da2d46eb08d508fc751 /indra/llmessage/llhttpconstants.cpp | |
parent | d079f0dcdc0d317813cda282496a1edae3feed64 (diff) |
Adding support for COPY methods to httpclient. Implementing viewer-side use of AISv3 COPY library folder operation. (SH-4304)
Diffstat (limited to 'indra/llmessage/llhttpconstants.cpp')
-rwxr-xr-x | indra/llmessage/llhttpconstants.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llmessage/llhttpconstants.cpp b/indra/llmessage/llhttpconstants.cpp index 016f1f1970..01f4a080b0 100755 --- a/indra/llmessage/llhttpconstants.cpp +++ b/indra/llmessage/llhttpconstants.cpp @@ -133,6 +133,8 @@ const std::string HTTP_VERB_POST("POST"); const std::string HTTP_VERB_DELETE("DELETE"); const std::string HTTP_VERB_MOVE("MOVE"); const std::string HTTP_VERB_OPTIONS("OPTIONS"); +const std::string HTTP_VERB_PATCH("PATCH"); +const std::string HTTP_VERB_COPY("COPY"); const std::string& httpMethodAsVerb(EHTTPMethod method) { @@ -145,7 +147,9 @@ const std::string& httpMethodAsVerb(EHTTPMethod method) HTTP_VERB_POST, HTTP_VERB_DELETE, HTTP_VERB_MOVE, - HTTP_VERB_OPTIONS + HTTP_VERB_OPTIONS, + HTTP_VERB_PATCH, + HTTP_VERB_COPY }; if(((S32)method <=0) || ((S32)method >= HTTP_METHOD_COUNT)) { |