Skip to content

Commit

Permalink
Merge pull request #3029 from ah7675/carelink-504
Browse files Browse the repository at this point in the history
Fix carelink login error 504
  • Loading branch information
jamorham authored Aug 19, 2023
2 parents f2d6ecc + 22954b7 commit 406a925
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,8 @@ protected void addHttpHeaders(Request.Builder requestBuilder, RequestType type)
//Add common browser headers
requestBuilder
.addHeader("Accept-Language", "en;q=0.9, *;q=0.8")
.addHeader("sec-ch-ua", "\"Chromium\";v=\"112\", \"Google Chrome\";v=\"112\", \"Not:A-Brand\";v=\"99\"")
.addHeader("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36");
.addHeader("sec-ch-ua", "\"Chromium\";v=\"115\", \"Google Chrome\";v=\"115\", \"Not:A-Brand\";v=\"99\"")
.addHeader("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36");

//Set media type based on request type
switch (type) {
Expand Down

0 comments on commit 406a925

Please sign in to comment.