LIBOMV-527 Disable DEBUG_CAPS in GridProxy left on debugging issue

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2728 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Jim Radford
2009-05-09 07:57:57 +00:00
parent d6f857ba01
commit 4fb5dd7292

View File

@@ -31,7 +31,7 @@
*/
// #define DEBUG_SEQUENCE
// #define DEBUG_CAPS
//#define DEBUG_CAPS
// #define DEBUG_THREADS
using System;
@@ -708,6 +708,14 @@ namespace GridProxy
capReq.RequestHeaders = req.Headers;
req.Method = meth;
// can't do gets on requests with a content body
// without throwing a protocol exception. So force it to post
// incase our parser stupidly set it to GET due to the viewer
// doing something stupid like sending an empty request
if(content.Length > 0)
req.Method = "POST";
req.ContentLength = content.Length;
HttpWebResponse resp;