Skip to content

Commit

Permalink
Update LoginRequestTask.java
Browse files Browse the repository at this point in the history
Fix login issue caused by case-sensitivity.
  • Loading branch information
bmlzootown authored Nov 26, 2024
1 parent 35b2c43 commit 9a0eb4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected Response<String> parseNetworkResponse(NetworkResponse response) {
List<Header> headers = response.allHeaders;
ArrayList<String> cs = new ArrayList<>();
for (Header header : headers) {
if (header.getName().equals("set-cookie")) {
if (header.getName().equalsIgnoreCase("Set-Cookie")) {
cs.add(header.getValue().split(";")[0]);
}
}
Expand Down

0 comments on commit 9a0eb4b

Please sign in to comment.