minor: Get content type handler logger to log "unset" for the content type instead of blank if no content type was set.
parent
e0ef2bdf81
commit
f39c2cd714
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue