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

0.7.4-extended
Justin Clark-Casey (justincc) 2012-10-23 00:44:47 +01:00
parent e0ef2bdf81
commit f39c2cd714
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}", "[BASE HTTP SERVER]: HTTP IN {0} :{1} {2} content type handler {3} {4} from {5}",
RequestNumber, RequestNumber,
Port, Port,
request.ContentType, (request.ContentType == null || request.ContentType == "") ? "not set" : request.ContentType,
request.HttpMethod, request.HttpMethod,
request.Url.PathAndQuery, request.Url.PathAndQuery,
request.RemoteIPEndPoint); request.RemoteIPEndPoint);