FIX make sure we create ETags from the body, not the request

This commit is contained in:
Daniel Hensby 2018-06-12 14:26:46 +01:00 committed by Damian Mooyman
parent e76cf93514
commit 7c875918c7
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ class HTTP
? $response->getBody()
: $response;
if ($body) {
return sprintf('"%s"', md5($response));
return sprintf('"%s"', md5($body));
}
return false;
}