|
|
|
@ -61,13 +61,13 @@ class NotModifiedMiddlewareTest extends \Test\TestCase { |
|
|
|
|
[null, '"etag"', null, '', false], |
|
|
|
|
['etag', '"etag"', null, '', true], |
|
|
|
|
|
|
|
|
|
[null, '', $now, $now->format(\DateTime::RFC2822), true], |
|
|
|
|
[null, '', $now, $now->format(\DateTimeInterface::RFC2822), true], |
|
|
|
|
[null, '', $now, $now->format(\DateTimeInterface::ATOM), false], |
|
|
|
|
[null, '', null, $now->format(\DateTime::RFC2822), false], |
|
|
|
|
[null, '', null, $now->format(\DateTimeInterface::RFC2822), false], |
|
|
|
|
[null, '', $now, '', false], |
|
|
|
|
|
|
|
|
|
['etag', '"etag"', $now, $now->format(\DateTimeInterface::ATOM), true], |
|
|
|
|
['etag', '"etag"', $now, $now->format(\DateTime::RFC2822), true], |
|
|
|
|
['etag', '"etag"', $now, $now->format(\DateTimeInterface::RFC2822), true], |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|