if (code == HttpConstants.UNAUTHORIZED) {
return unauthorized("authentication required");
} else if (code == HttpConstants.FORBIDDEN) {
return forbidden("forbidden");
} else if (code == HttpConstants.TEMP_REDIRECT) {
<BUG>return redirect(context.getResponseLocation());
</BUG>
} else if (code == HttpConstants.OK) {
<BUG>final String content = context.getResponseContent();
</BUG>
logger.debug("render: {}", content);

if (code == HttpConstants.UNAUTHORIZED) {
return unauthorized("authentication required");
} else if (code == HttpConstants.FORBIDDEN) {
return forbidden("forbidden");
} else if (code == HttpConstants.TEMP_REDIRECT) {
return redirect(webContext.getResponseLocation());
} else if (code == HttpConstants.OK) {
final String content = webContext.getResponseContent();
logger.debug("render: {}", content);
