minor: Get content type handler logger to log "unset" for the content type instead of blank if no content type was set.

integration
Justin Clark-Casey (justincc) 2012-10-23 00:44:47 +01:00
parent 542d075376
commit 2206132ab9
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ namespace OpenSim.Framework.Servers.HttpServer
"[BASE HTTP SERVER]: HTTP IN {0} :{1} {2} content type handler {3} {4} from {5}",
RequestNumber,
Port,
request.ContentType,
(request.ContentType == null || request.ContentType == "") ? "not set" : request.ContentType,
request.HttpMethod,
request.Url.PathAndQuery,
request.RemoteIPEndPoint);