diff options
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index b3e31a6..3198891 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -543,11 +543,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
543 | { | 543 | { |
544 | case null: | 544 | case null: |
545 | case "text/html": | 545 | case "text/html": |
546 | |||
547 | if (DebugLevel >= 3) | 546 | if (DebugLevel >= 3) |
548 | m_log.DebugFormat( | 547 | LogIncomingToContentTypeHandler(request); |
549 | "[BASE HTTP SERVER]: HTTP IN {0} :{1} {2} content type handler {3} {4} from {5}", | ||
550 | RequestNumber, Port, request.ContentType, request.HttpMethod, request.Url.PathAndQuery, request.RemoteIPEndPoint); | ||
551 | 548 | ||
552 | buffer = HandleHTTPRequest(request, response); | 549 | buffer = HandleHTTPRequest(request, response); |
553 | break; | 550 | break; |
@@ -555,11 +552,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
555 | case "application/llsd+xml": | 552 | case "application/llsd+xml": |
556 | case "application/xml+llsd": | 553 | case "application/xml+llsd": |
557 | case "application/llsd+json": | 554 | case "application/llsd+json": |
558 | |||
559 | if (DebugLevel >= 3) | 555 | if (DebugLevel >= 3) |
560 | m_log.DebugFormat( | 556 | LogIncomingToContentTypeHandler(request); |
561 | "[BASE HTTP SERVER]: HTTP IN {0} :{1} {2} content type handler {3} {4} from {5}", | ||
562 | RequestNumber, Port, request.ContentType, request.HttpMethod, request.Url.PathAndQuery, request.RemoteIPEndPoint); | ||
563 | 557 | ||
564 | buffer = HandleLLSDRequests(request, response); | 558 | buffer = HandleLLSDRequests(request, response); |
565 | break; | 559 | break; |
@@ -694,7 +688,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
694 | "[BASE HTTP SERVER]: HTTP IN {0} :{1} {2} content type handler {3} {4} from {5}", | 688 | "[BASE HTTP SERVER]: HTTP IN {0} :{1} {2} content type handler {3} {4} from {5}", |
695 | RequestNumber, | 689 | RequestNumber, |
696 | Port, | 690 | Port, |
697 | request.ContentType, | 691 | (request.ContentType == null || request.ContentType == "") ? "not set" : request.ContentType, |
698 | request.HttpMethod, | 692 | request.HttpMethod, |
699 | request.Url.PathAndQuery, | 693 | request.Url.PathAndQuery, |
700 | request.RemoteIPEndPoint); | 694 | request.RemoteIPEndPoint); |