response = new RackResponse(rCode)
.withBody(Globals.EMPTY_STRING)
.withContentLength(0);
int defaultPort = getRequest() != null? getRequest().getServerPort() : 8080;
UrlUtilities urlUtilities = new UrlUtilities(getRequest(), getResponse());
String location = secure ?
urlUtilities.buildSecure(path) :
urlUtilities.buildStandard(path, defaultPort);
with(Globals.RACK_RESPONSE, response.withHeader("Location", location));
throw new RedirectException();
}
}