Skip to content

Commit

Permalink
fix response headers using same var name
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Sep 23, 2024
1 parent 8a0d2a6 commit 7f71fac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public void onComplete() {
}

int responseCode = connection.getResponseCode();
Map<String, List<String>> headers = new HashMap<>(connection.getHeaderFields());
headers = new HashMap<>(connection.getHeaderFields());
cookieHandler.put(var1.uri(), headers);
headers.remove(null);
Version version = J_N_H_HttpClient.Version.HTTP_1_1;
Expand Down

0 comments on commit 7f71fac

Please sign in to comment.