We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cca70e3 commit 68ad984Copy full SHA for 68ad984
java/src/org/openqa/selenium/grid/web/RoutableHttpClientFactory.java
@@ -56,9 +56,8 @@ public HttpClient createClient(ClientConfig config) {
56
return new HttpClient() {
57
@Override
58
public HttpResponse execute(HttpRequest request) throws UncheckedIOException {
59
- HttpResponse response = new HttpResponse();
60
-
61
if (!handler.test(request)) {
+ HttpResponse response = new HttpResponse();
62
response.setStatus(404);
63
response.setContent(
64
asJson(
0 commit comments