Neos\Flow\Tests\Unit\Http\HeadersTest::mustRevalidateAndProxyRevalidateAreRenderedCorrectly PHP Метод

mustRevalidateAndProxyRevalidateAreRenderedCorrectly() публичный Метод

(RFC 2616 / 14.9.4)
    public function mustRevalidateAndProxyRevalidateAreRenderedCorrectly()
    {
        $headers = new Headers();
        $headers->setCacheControlDirective('must-revalidate');
        $this->assertEquals('must-revalidate', $headers->get('Cache-Control'));
        $headers->removeCacheControlDirective('must-revalidate');
        $headers->setCacheControlDirective('proxy-revalidate');
        $this->assertEquals('proxy-revalidate', $headers->get('Cache-Control'));
    }