diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llmessage/llurlrequest.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llmessage/llurlrequest.cpp')
-rw-r--r-- | linden/indra/llmessage/llurlrequest.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/linden/indra/llmessage/llurlrequest.cpp b/linden/indra/llmessage/llurlrequest.cpp index 5760197..42f3f04 100644 --- a/linden/indra/llmessage/llurlrequest.cpp +++ b/linden/indra/llmessage/llurlrequest.cpp | |||
@@ -42,7 +42,7 @@ | |||
42 | #include "llpumpio.h" | 42 | #include "llpumpio.h" |
43 | #include "llsd.h" | 43 | #include "llsd.h" |
44 | #include "llstring.h" | 44 | #include "llstring.h" |
45 | #include "apr-1/apr_env.h" | 45 | #include "apr_env.h" |
46 | 46 | ||
47 | static const U32 HTTP_STATUS_PIPE_ERROR = 499; | 47 | static const U32 HTTP_STATUS_PIPE_ERROR = 499; |
48 | 48 | ||
@@ -385,6 +385,13 @@ bool LLURLRequest::configure() | |||
385 | rv = true; | 385 | rv = true; |
386 | break; | 386 | break; |
387 | 387 | ||
388 | case HTTP_MOVE: | ||
389 | // Set the handle for an http post | ||
390 | mDetail->mCurlRequest->setoptString(CURLOPT_CUSTOMREQUEST, "MOVE"); | ||
391 | // *NOTE: should we check for the Destination header? | ||
392 | rv = true; | ||
393 | break; | ||
394 | |||
388 | default: | 395 | default: |
389 | llwarns << "Unhandled URLRequest action: " << mAction << llendl; | 396 | llwarns << "Unhandled URLRequest action: " << mAction << llendl; |
390 | break; | 397 | break; |
@@ -535,7 +542,7 @@ LLIOPipe::EStatus LLContextURLExtractor::process_impl( | |||
535 | // find the context url | 542 | // find the context url |
536 | if(context.has(CONTEXT_DEST_URI_SD_LABEL)) | 543 | if(context.has(CONTEXT_DEST_URI_SD_LABEL)) |
537 | { | 544 | { |
538 | mRequest->setURL(context[CONTEXT_DEST_URI_SD_LABEL]); | 545 | mRequest->setURL(context[CONTEXT_DEST_URI_SD_LABEL].asString()); |
539 | return STATUS_DONE; | 546 | return STATUS_DONE; |
540 | } | 547 | } |
541 | return STATUS_ERROR; | 548 | return STATUS_ERROR; |