diff options
author | Justin Clarke Casey | 2008-09-29 15:33:58 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-29 15:33:58 +0000 |
commit | 0b2bc26bfea8e4e32c77e20b043fd82c80edfc5e (patch) | |
tree | 631b51569bb3936b50f001533dbbdb0e436f5eee /OpenSim/Framework/Servers/BaseHttpServer.cs | |
parent | * Apply http://opensimulator.org/mantis/view.php?id=2295 (diff) | |
download | opensim-SC-0b2bc26bfea8e4e32c77e20b043fd82c80edfc5e.zip opensim-SC-0b2bc26bfea8e4e32c77e20b043fd82c80edfc5e.tar.gz opensim-SC-0b2bc26bfea8e4e32c77e20b043fd82c80edfc5e.tar.bz2 opensim-SC-0b2bc26bfea8e4e32c77e20b043fd82c80edfc5e.tar.xz |
* minor: remove warnings
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 504ca8b..e44a301 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -377,7 +377,7 @@ namespace OpenSim.Framework.Servers | |||
377 | 377 | ||
378 | Hashtable keysvals = new Hashtable(); | 378 | Hashtable keysvals = new Hashtable(); |
379 | Hashtable headervals = new Hashtable(); | 379 | Hashtable headervals = new Hashtable(); |
380 | string host = String.Empty; | 380 | //string host = String.Empty; |
381 | 381 | ||
382 | string[] querystringkeys = request.QueryString.AllKeys; | 382 | string[] querystringkeys = request.QueryString.AllKeys; |
383 | string[] rHeaders = request.Headers.AllKeys; | 383 | string[] rHeaders = request.Headers.AllKeys; |
@@ -394,15 +394,16 @@ namespace OpenSim.Framework.Servers | |||
394 | headervals[headername] = request.Headers[headername]; | 394 | headervals[headername] = request.Headers[headername]; |
395 | } | 395 | } |
396 | 396 | ||
397 | if (headervals.Contains("Host")) | 397 | // if (headervals.Contains("Host")) |
398 | { | 398 | // { |
399 | host = (string)headervals["Host"]; | 399 | // host = (string)headervals["Host"]; |
400 | } | 400 | // } |
401 | |||
401 | keysvals.Add("requestbody",requestBody); | 402 | keysvals.Add("requestbody",requestBody); |
402 | if (keysvals.Contains("method")) | 403 | if (keysvals.Contains("method")) |
403 | { | 404 | { |
404 | //m_log.Warn("[HTTP]: Contains Method"); | 405 | //m_log.Warn("[HTTP]: Contains Method"); |
405 | string method = (string)keysvals["method"]; | 406 | //string method = (string)keysvals["method"]; |
406 | //m_log.Warn("[HTTP]: " + requestBody); | 407 | //m_log.Warn("[HTTP]: " + requestBody); |
407 | 408 | ||
408 | } | 409 | } |