commit | a11b70d5ec690dbedd9087fb3b25d7d65d865eb4 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Tue Dec 16 16:22:08 2014 +0000 |
committer | Narayan Kamath <narayan@google.com> | Tue Dec 16 16:26:32 2014 +0000 |
tree | 552e3569b88ce377320c3469af2c686ee62103fc | |
parent | 8f090052bdddc1312fe9238eca702c4e8eafff11 [diff] |
Add a hidden API for detecting response charsets. This is meant to be a partial replacement for apache's EntityUtils.toString for internal callers. Providing a stand in replacement seems like a bad idea because that API tries to coerce all responses into strings, even those that are binary. I'm torn about EntityUtils. It was a useful "utility" in some cases, but dangerous in others. bug: 18027885 Change-Id: Ia02ffe86b5ef5caecbe86069967a549ff09335e5