Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit12fa328

Browse files
committed
Comments fixed
1 parent0fc0857 commit12fa328

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎src/Symfony/Component/HttpFoundation/CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CHANGELOG
44
6.2
55
---
66

7-
*Http cache store uses the`xxh128` algorithm
7+
*The HTTP cache store uses the`xxh128` algorithm
88

99
6.1
1010
---

‎src/Symfony/Component/HttpKernel/HttpCache/Store.php‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
* Store implements all the logic for storing cache metadata (Request and Response headers).
1919
*
2020
* @author Fabien Potencier <fabien@symfony.com>
21+
*
22+
* This code is partially based on the Rack-Cache library by Ryan Tomayko,
23+
* which is released under the MIT license.
2124
*/
2225
class Storeimplements StoreInterface
2326
{
@@ -179,7 +182,7 @@ public function write(Request $request, Response $response): string
179182
if ($this->getPath($digest) !==$response->headers->get('X-Body-File')) {
180183
thrownew \RuntimeException('X-Body-File and X-Content-Digest do not match.');
181184
}
182-
// Everything seems ok, omit writing content to disk
185+
// Everything seems ok, omit writing content to disk
183186
}else {
184187
$digest =$this->generateContentDigest($response);
185188
$response->headers->set('X-Content-Digest',$digest);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp