Skip to content

Commit

Permalink
Fix #5: change accept-encoding header to 'identity' to prevent compre…
Browse files Browse the repository at this point in the history
…ssion or modification
  • Loading branch information
cmtjk committed Nov 15, 2022
1 parent 5c6ca2c commit 76a3aaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
minSdk 28
targetSdk 32
versionCode 1
versionName "1.3.2"
versionName "1.3.3"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ private Map<String, String> getDefaultHeaders() {
header.put("User-Agent", "FreeStyle LibreLink Up Uploader");
header.put("Content-Type", "application/json");
header.put("version", "4.1.1");
header.put("Accept-Encoding", "gzip, deflate, br");
header.put("Accept-Encoding", "identity");
header.put("Connection", "keep-alive");
header.put("Pragma", "no-cache");
header.put("Cache-Control", "no-cache");
Expand Down

0 comments on commit 76a3aaf

Please sign in to comment.