@@ -97,10 +97,10 @@ |
||
| 97 | 97 | foreach($requested->gethHeader('if-match') as $expectedEtag) { |
| 98 | 98 | $expectedEtag = trim($expectedEtag, '"'); |
| 99 | 99 | if($expectedEtag !== $item['etag']){ |
| 100 | - return new Response(412); |
|
| 101 | - } |
|
| 100 | + return new Response(412); |
|
| 101 | + } |
|
| 102 | + } |
|
| 102 | 103 | } |
| 103 | - } |
|
| 104 | 104 | |
| 105 | 105 | $response = (new Response(200))-> |
| 106 | 106 | withBody(stream_for($item['contents']))-> |