mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX make sure we create ETags from the body, not the request
This commit is contained in:
parent
e76cf93514
commit
7c875918c7
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user