@@ -69,14 +69,14 @@ |
||
69 | 69 | list($first, $last) = $range; |
70 | 70 | $size = $response->getBody()->getSize(); |
71 | 71 | |
72 | - if ($last === null) { |
|
72 | + if ($last === null) { |
|
73 | 73 | $last = $size - 1; |
74 | 74 | } |
75 | 75 | |
76 | 76 | return $response |
77 | 77 | ->withStatus(206) |
78 | 78 | ->withHeader('Content-Length', (string) ($last - $first + 1)) |
79 | - ->withHeader('Content-Range', sprintf('bytes %d-%d/%d', $first, $last, $size)); |
|
79 | + ->withHeader('Content-Range', sprintf('bytes %d-%d/%d', $first, $last, $size)); |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |