forked from organicmaps/organicmaps
Merge pull request #4570 from milchakov/MAPSME_2722_android_cannot_authorize
[android] Fix authorization error
This commit is contained in:
commit
fd55b49b4f
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ public final class HttpClient
|
|||
if (headers != null && headers.containsKey("Set-Cookie"))
|
||||
{
|
||||
// Multiple Set-Cookie headers are normalized in C++ code.
|
||||
android.text.TextUtils.join(", ", headers.get("Set-Cookie"));
|
||||
p.cookies = android.text.TextUtils.join(", ", headers.get("Set-Cookie"));
|
||||
}
|
||||
// This implementation receives any data only if we have HTTP::OK (200).
|
||||
if (p.httpResponseCode == HttpURLConnection.HTTP_OK)
|
||||
|
|
Loading…
Add table
Reference in a new issue