PHP 클래스 Neos\Flow\Tests\Unit\Http\HeadersTest

상속: extends Neos\Flow\Tests\UnitTestCase
파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
cacheControlHeaderPassedToSetIsParsedCorrectly ( $rawFieldValue, $renderedFieldValue )
cacheControlHeaders ( ) Data provider with valid cache control headers
cacheDirectivesAndExampleValues ( ) Data provider for the test below
cookiesCanBeRemoved ( )
cookiesCanBeSetThroughTheCookieHeader ( )
cookiesWithEmptyNameAreIgnored ( ) See FLOW-12
createFromServerCreatesFieldsFromSpecifiedServerSuperglobal ( )
createFromServerSimulatesAuthorizationHeaderIfPHPAuthVariablesArePresent ( )
getAllAddsCacheControlHeaderIfCacheDirectivesHaveBeenSet ( )
getAllReturnsAllHeaderFields ( )
getCacheControlDirectiveReturnsTheSpecifiedDirectiveValueIfPresent ( $name, $value )
getCookiesReturnsAllCookies ( )
getReturnsNullForNonExistingHeader ( )
headerFieldsCanBeReplaced ( )
headerFieldsCanBeSpecifiedToTheConstructor ( )
headerFieldsCanExistMultipleTimes ( )
maxAgeAndSMaxAgeIsRenderedCorrectly ( ) (RFC 2616 / 14.9.3)
mustRevalidateAndProxyRevalidateAreRenderedCorrectly ( ) (RFC 2616 / 14.9.4)
noStoreCacheDirectiveCanBeSetAndRemoved ( ) (RFC 2616 / 14.9.2)
noTransformCacheDirectiveIsRenderedCorrectly ( ) (RFC 2616 / 14.9.5)
removeCacheControlDirectiveRemovesVisibilityCorrectly ( ) (RFC 2616 / 14.9.1)
removeRemovesTheSpecifiedHeader ( )
setCacheControlDirectiveSetsVisibilityCorrectly ( ) (RFC 2616 / 14.9.1)
setExceptsHttpsHeaders ( )
setGetAndGetAllConvertDatesFromDateObjectsToStringAndViceVersa ( ) (RFC 2616 3.3.1)
setOverridesAnyPreviouslyDefinedCacheControlDirectives ( )
singleCookieCanBeSetAndRetrieved ( )

메소드 상세

cacheControlHeaderPassedToSetIsParsedCorrectly() 공개 메소드

public cacheControlHeaderPassedToSetIsParsedCorrectly ( $rawFieldValue, $renderedFieldValue )

cacheControlHeaders() 공개 메소드

Data provider with valid cache control headers
public cacheControlHeaders ( )

cacheDirectivesAndExampleValues() 공개 메소드

Data provider for the test below

cookiesCanBeRemoved() 공개 메소드

public cookiesCanBeRemoved ( )

cookiesCanBeSetThroughTheCookieHeader() 공개 메소드

cookiesWithEmptyNameAreIgnored() 공개 메소드

See FLOW-12

createFromServerCreatesFieldsFromSpecifiedServerSuperglobal() 공개 메소드

createFromServerSimulatesAuthorizationHeaderIfPHPAuthVariablesArePresent() 공개 메소드

getAllAddsCacheControlHeaderIfCacheDirectivesHaveBeenSet() 공개 메소드

getAllReturnsAllHeaderFields() 공개 메소드

getCacheControlDirectiveReturnsTheSpecifiedDirectiveValueIfPresent() 공개 메소드

getCookiesReturnsAllCookies() 공개 메소드

getReturnsNullForNonExistingHeader() 공개 메소드

headerFieldsCanBeReplaced() 공개 메소드

headerFieldsCanBeSpecifiedToTheConstructor() 공개 메소드

headerFieldsCanExistMultipleTimes() 공개 메소드

maxAgeAndSMaxAgeIsRenderedCorrectly() 공개 메소드

(RFC 2616 / 14.9.3)

mustRevalidateAndProxyRevalidateAreRenderedCorrectly() 공개 메소드

(RFC 2616 / 14.9.4)

noStoreCacheDirectiveCanBeSetAndRemoved() 공개 메소드

(RFC 2616 / 14.9.2)

noTransformCacheDirectiveIsRenderedCorrectly() 공개 메소드

(RFC 2616 / 14.9.5)

removeCacheControlDirectiveRemovesVisibilityCorrectly() 공개 메소드

(RFC 2616 / 14.9.1)

removeRemovesTheSpecifiedHeader() 공개 메소드

setCacheControlDirectiveSetsVisibilityCorrectly() 공개 메소드

(RFC 2616 / 14.9.1)

setExceptsHttpsHeaders() 공개 메소드

setGetAndGetAllConvertDatesFromDateObjectsToStringAndViceVersa() 공개 메소드

This checks if set() and get() convert DateTime to an RFC 2822 compliant date / time string and vice versa. Note that the date / time passed to set() is normalized to GMT internally, so that get() will return the same point in time, but not in the same timezone, if it was not GMT previously.

setOverridesAnyPreviouslyDefinedCacheControlDirectives() 공개 메소드

singleCookieCanBeSetAndRetrieved() 공개 메소드