Neos\Flow\Tests\Unit\Http\HeadersTest::noTransformCacheDirectiveIsRenderedCorrectly PHP Method

noTransformCacheDirectiveIsRenderedCorrectly() public method

(RFC 2616 / 14.9.5)
    public function noTransformCacheDirectiveIsRenderedCorrectly()
    {
        $headers = new Headers();
        $headers->setCacheControlDirective('no-transform');
        $headers->setCacheControlDirective('public');
        $this->assertEquals('public, no-transform', $headers->get('Cache-Control'));
        $headers->removeCacheControlDirective('no-transform');
        $this->assertEquals('public', $headers->get('Cache-Control'));
    }