mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-05 02:09:50 +01:00
Attempt to fix iOS http auth
This commit is contained in:
parent
11519ffc99
commit
8b67c73368
@ -45,7 +45,7 @@ public class RequestHandler implements HttpHandler {
|
|||||||
Response response = responseHandler.getResponse(request);
|
Response response = responseHandler.getResponse(request);
|
||||||
responseCode = response.getCode();
|
responseCode = response.getCode();
|
||||||
if (response instanceof PromptAuthorizationResponse) {
|
if (response instanceof PromptAuthorizationResponse) {
|
||||||
responseHeaders.set("WWW-Authenticate", "Basic realm=\"/\";");
|
responseHeaders.set("WWW-Authenticate", "Basic realm=\"/\"");
|
||||||
}
|
}
|
||||||
|
|
||||||
response.setResponseHeaders(responseHeaders);
|
response.setResponseHeaders(responseHeaders);
|
||||||
|
Loading…
Reference in New Issue
Block a user