// having null username will bypass ZanataRestSecurityInterceptor
// clientRequest.header("X-Auth-User", null);
clientRequest.getHeaders().remove("X-Auth-User");
clientRequest.header("X-Auth-Token",
PropertiesHolder.getProperty(Constants.zanataApiKey.value()));
clientRequest.header("Content-Type", "application/xml");
return clientRequest;
}
public static void deleteExceptEssentialData() throws Exception {
checkAndReleaseConnection(createRequest("").delete());