Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 1242da6

Browse files
author
Clément Le Provost
committed
Merge branch 'master' into feat/missing-query-parameters
2 parents 39949eb + 116153c commit 1242da6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<!--/NO_HTML-->
66

77

8+
*Note: If you were using **version 2.x** of our Android client, read the [migration guide to version 3.x](https://github.com/algolia/algoliasearch-client-android/wiki/Migration-guide-to-version-3.x).*
9+
10+
811

912

1013
<!--NO_HTML-->

algoliasearch/src/main/java/com/algolia/search/saas/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ private byte[] _requestRaw(Method m, String url, String json, List<String> hosts
686686

687687
final byte[] rawResponse;
688688
String encoding = hostConnection.getContentEncoding();
689-
if (encoding != null && encoding.contains("gzip")) {
689+
if (encoding != null && encoding.equals("gzip")) {
690690
rawResponse = _toByteArray(new GZIPInputStream(stream));
691691
} else {
692692
rawResponse = _toByteArray(stream);

0 commit comments

Comments
 (0)