aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-10-23 00:44:47 +0100
committerJustin Clark-Casey (justincc)2012-10-23 00:44:47 +0100
commit2206132ab992469f200048aa25a724d48290b9f3 (patch)
treeef6dfcf3bc8f955aced4e4bf3b916113bf8cd633
parentminor: Use LogIncomingToContentTypeHandler() method for incoming HTTP data wh... (diff)
downloadopensim-SC_OLD-2206132ab992469f200048aa25a724d48290b9f3.zip
opensim-SC_OLD-2206132ab992469f200048aa25a724d48290b9f3.tar.gz
opensim-SC_OLD-2206132ab992469f200048aa25a724d48290b9f3.tar.bz2
opensim-SC_OLD-2206132ab992469f200048aa25a724d48290b9f3.tar.xz
minor: Get content type handler logger to log "unset" for the content type instead of blank if no content type was set.
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 5d731f4..410a76a 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -687,7 +687,7 @@ namespace OpenSim.Framework.Servers.HttpServer
687 "[BASE HTTP SERVER]: HTTP IN {0} :{1} {2} content type handler {3} {4} from {5}", 687 "[BASE HTTP SERVER]: HTTP IN {0} :{1} {2} content type handler {3} {4} from {5}",
688 RequestNumber, 688 RequestNumber,
689 Port, 689 Port,
690 request.ContentType, 690 (request.ContentType == null || request.ContentType == "") ? "not set" : request.ContentType,
691 request.HttpMethod, 691 request.HttpMethod,
692 request.Url.PathAndQuery, 692 request.Url.PathAndQuery,
693 request.RemoteIPEndPoint); 693 request.RemoteIPEndPoint);