Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
public static Response buildResponseUnautohrizedUser(String user) { String entity = buildUnauthorizedUserHtml(user); return Response.status(OK) .entity(entity) .type(MediaType.TEXT_HTML_TYPE) .build(); }
It returns OK which is confusing.