+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ public java.net.http.HttpRequest createRequest(HttpRequest req) {
84
84
for (String name : req.getHeaderNames()) {
85
85
// Avoid explicitly setting content-length
86
86
// This prevents the IllegalArgumentException that states 'restricted header name: "Content-Length"'
87
-
if (name.equals("Content-Length")) {
87
+
if (name.equalsIgnoreCase("content-length")) {
88
88
continue;
89
89
}
90
90
for (String value : req.getHeaders(name)) {
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