aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/lliohttpserver.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/llmessage/lliohttpserver.cpp
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/llmessage/lliohttpserver.cpp')
-rw-r--r--linden/indra/llmessage/lliohttpserver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llmessage/lliohttpserver.cpp b/linden/indra/llmessage/lliohttpserver.cpp
index 40f70c3..6e94ec6 100644
--- a/linden/indra/llmessage/lliohttpserver.cpp
+++ b/linden/indra/llmessage/lliohttpserver.cpp
@@ -156,7 +156,9 @@ LLIOPipe::EStatus LLHTTPPipe::process_impl(
156 // assume deferred unless mResponse does otherwise 156 // assume deferred unless mResponse does otherwise
157 mResponse = Response::create(this); 157 mResponse = Response::create(this);
158 158
159 // TODO: Babbage: Parameterize parser? 159 // *TODO: Babbage: Parameterize parser?
160 // *TODO: We should look at content-type and do the right
161 // thing. Phoenix 2007-12-31
160 LLBufferStream istr(channels, buffer.get()); 162 LLBufferStream istr(channels, buffer.get());
161 163
162 static LLTimer timer; 164 static LLTimer timer;
@@ -171,14 +173,12 @@ LLIOPipe::EStatus LLHTTPPipe::process_impl(
171 { 173 {
172 LLSD input; 174 LLSD input;
173 LLSDSerialize::fromXML(input, istr); 175 LLSDSerialize::fromXML(input, istr);
174
175 mNode.put(LLHTTPNode::ResponsePtr(mResponse), context, input); 176 mNode.put(LLHTTPNode::ResponsePtr(mResponse), context, input);
176 } 177 }
177 else if(verb == HTTP_VERB_POST) 178 else if(verb == HTTP_VERB_POST)
178 { 179 {
179 LLSD input; 180 LLSD input;
180 LLSDSerialize::fromXML(input, istr); 181 LLSDSerialize::fromXML(input, istr);
181
182 mNode.post(LLHTTPNode::ResponsePtr(mResponse), context, input); 182 mNode.post(LLHTTPNode::ResponsePtr(mResponse), context, input);
183 } 183 }
184 else if(verb == HTTP_VERB_DELETE) 184 else if(verb == HTTP_VERB_DELETE)