Update moe equivalence
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196024195
This commit is contained in:
parent
9adf9542e1
commit
f7d4fa8829
@ -170,7 +170,7 @@ public class OkHttpDataSource implements HttpDataSource {
|
||||
|
||||
// Check for a valid response code.
|
||||
if (!response.isSuccessful()) {
|
||||
Map<String, List<String>> headers = request.headers().toMultimap();
|
||||
Map<String, List<String>> headers = response.headers().toMultimap();
|
||||
closeConnectionQuietly();
|
||||
InvalidResponseCodeException exception = new InvalidResponseCodeException(
|
||||
responseCode, headers, dataSpec);
|
||||
|
Loading…
x
Reference in New Issue
Block a user