fix #35: Android headers are not normalized (not returned in lowercase)

This commit is contained in:
Sefa Ilkimen
2017-10-26 17:34:32 +02:00
parent 77c0a887ac
commit 208529003d
3 changed files with 14 additions and 5 deletions
@@ -150,7 +150,7 @@ abstract class CordovaHttp {
List<String> value = entry.getValue();
if ((key != null) && (!value.isEmpty())) {
filteredHeaders.put(key, TextUtils.join(", ", value));
filteredHeaders.put(key.toLowerCase(), TextUtils.join(", ", value));
}
}