Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
HttpCacheTestCase.php
»
HttpCacheTestCase
»
HttpCacheTestCase::setNextResponse
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
45 calls to HttpCacheTestCase::setNextResponse()
HttpCacheTest::testAssignsDefaultTtlWhenResponseHasNoFreshnessInformation
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testCachesResponsesWithALastModifiedValidatorButNoFreshnessInformation
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testCachesResponsesWithAMaxAgeDirective
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testCachesResponsesWithAnETagValidatorButNoFreshnessInformation
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testCachesResponsesWithAnExpirationHeader
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testCachesResponsesWithASMaxAgeDirective
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testCachesResponsesWithExplicitNoCacheDirective
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testClientIpIsAlwaysLocalhostForForwardedRequests
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testDoesCacheWithAuthorizationRequestHeaderAndPublicResponse
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testDoesNotAssignDefaultTtlWhenResponseHasMustRevalidateDirective
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testDoesNotCacheRequestsWithACookieHeader
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testDoesNotCacheResponsesWithExplicitNoStoreDirective
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testDoesNotCacheResponsesWithoutFreshnessInformationOrAValidator
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testDoesNotCacheSomeStatusCodeResponses
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testDoesNotCacheWithAuthorizationRequestHeaderAndNonPublicResponse
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testDoesNotCacheWithCookieHeaderAndNonPublicResponse
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testDoesNotReloadResponsesWhenAllowReloadIsSetFalseDefault
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testDoesNotRevalidateFreshCacheEntryWhenEnableRevalidateOptionIsSetFalseDefault
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testFetchesFullResponseWhenCacheStaleAndNoValidatorsPresent
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testFetchesResponseFromBackendWhenCacheMisses
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testHitsCachedResponsesWithExpiresHeader
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testHitsCachedResponseWithMaxAgeDirective
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testHitsCachedResponseWithSMaxAgeDirective
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testInvalidatesCachedResponsesOnPost
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testInvalidatesOnPostPutDeleteRequests
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testPassesHeadRequestsThroughDirectlyOnPass
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testPassesOnNonGetHeadRequests
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testReloadsResponsesWhenCacheHitsButNoCacheRequestDirectivePresentWhenAllowReloadIsSetTrue
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testReplacesCachedResponsesWhenValidationResultsInNon304Response
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testRespondsWith304OnlyIfIfNoneMatchAndIfModifiedSinceBothMatch
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testRespondsWith304WhenIfModifiedSinceMatchesLastModified
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testRespondsWith304WhenIfNoneMatchMatchesETag
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testRevalidatesFreshCacheEntryWhenMaxAgeRequestDirectiveIsExceededWhenAllowRevalidateOptionIsSetTrue
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testSendsNoContentWhenFresh
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testServesFromCacheWhenHeadersMatch
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testShouldCatchExceptions
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testShouldNotCatchExceptions
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testStoresMultipleResponsesWhenHeadersDiffer
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testStoresResponsesWhenNoCacheRequestDirectivePresent
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testUsesCacheToRespondToHeadRequestsWhenFresh
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testValidatesCachedResponsesWithETagAndNoFreshnessInformation
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testValidatesCachedResponsesWithLastModifiedAndNoFreshnessInformation
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testValidatesPrivateResponsesCachedOnTheClient
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
HttpCacheTest::testXForwarderForHeaderForForwardedRequests
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php
@dataProvider getXForwardedForData
HttpCacheTest::testXForwarderForHeaderForPassRequests
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
HttpCache/
HttpCacheTest.php