+2
-4
lines changedFilter options
+2
-4
lines changed Original file line number Diff line number Diff line change
@@ -211,7 +211,7 @@ public void close() {
211
211
}
212
212
213
213
private URI getWebSocketUri(HttpRequest request) {
214
-
URI uri = messages.getRawURI(request);
214
+
URI uri = messages.getRawUri(request);
215
215
if ("http".equalsIgnoreCase(uri.getScheme())) {
216
216
try {
217
217
uri = new URI("ws", uri.getUserInfo(), uri.getHost(), uri.getPort(), uri.getPath(), uri.getQuery(), uri.getFragment());
Original file line number Diff line number Diff line change
@@ -20,13 +20,11 @@
20
20
import org.openqa.selenium.remote.http.AddSeleniumUserAgent;
21
21
import org.openqa.selenium.remote.http.ClientConfig;
22
22
import org.openqa.selenium.remote.http.Contents;
23
-
import org.openqa.selenium.remote.http.HttpMethod;
24
23
import org.openqa.selenium.remote.http.HttpRequest;
25
24
import org.openqa.selenium.remote.http.HttpResponse;
26
25
27
26
import java.io.InputStream;
28
27
import java.net.URI;
29
-
import java.net.URL;
30
28
import java.net.URLEncoder;
31
29
import java.net.http.HttpRequest.BodyPublishers;
32
30
import java.util.Objects;
@@ -115,7 +113,7 @@ private String getRawUrl(URI baseUrl, String uri) {
115
113
return rawUrl;
116
114
}
117
115
118
-
public URI getRawURI(HttpRequest req) {
116
+
public URI getRawUri(HttpRequest req) {
119
117
String rawUrl = getRawUrl(config.baseUri(), req.getUri());
120
118
return URI.create(rawUrl);
121
119
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4