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

View File

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