[KEYCLOAK-6414] - Empty response body with 200 response when using Elytron
This commit is contained in:
1 parent
5e4d173f1d
commit
527d6ca4d8
1 file changed
+3
-1
+3
-1
@@ -267,7 +267,9 @@ class ElytronHttpFacade implements OIDCHttpFacade {
|
||||
|
||||
@Override
|
||||
public void setStatus(final int status) {
|
||||
responseConsumer = responseConsumer.andThen(response -> response.setStatusCode(status));
|
||||
if (status < 200 || status > 300) {
|
||||
responseConsumer = responseConsumer.andThen(response -> response.setStatusCode(status));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user