if (isUsingWebServer()) {
// Check our host name keys in our preferred order instead of Apple WO 5.4.3 default header check logic.
serverName = remoteHostName();
if ((serverName == null) || (serverName.length() == 0) || serverName.equals(UNKNOWN_HOST))
throw new NSForwardException(new WOURLFormatException("<" + super.getClass().getName() + ">: Unable to build complete url as no server name was provided in the headers of the request."));
}
else {
serverName = WOApplication.application().host();
}
}