Search for headers
- Search 7.x for headers
- Search 9.5.x for headers
- Search 8.9.x for headers
- Search 10.3.x for headers
- Search main for headers
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| BasicAuthResourceTestTrait::normalizeHeadersForGetHeadComparison | function | core/ |
Stateless authentication via basic_auth does not persist a session between requests, so the CSRF token seed in the session metadata bag is regenerated on every request. Any URL carrying a `?token=` (e.g. admin operation links surfaced as Link headers)… |
| BasicAuthTestTrait::getBasicAuthHeaders | function | core/ |
Returns HTTP headers that can be used for basic authentication in Curl. |
| BigPipeTest::assertBigPipeResponseHeadersPresent | function | core/ |
@internal |
| BigPipeTestSubscriber::onRespondSetBigPipeDebugPlaceholderHeaders | function | core/ |
Exposes all BigPipe placeholders (JS and no-JS) via headers for testing. |
| BrowserHtmlDebugTrait::formatHtmlOutputHeaders | function | core/ |
Formats HTTP headers as string for HTML output logging. |
| BrowserHtmlDebugTrait::getHtmlOutputHeaders | function | core/ |
Returns headers in HTML output format. |
| BrowserTestBaseTest::testDeprecationHeaders | function | core/ |
Tests that deprecation headers do not get duplicated. |
| CacheTest::testHeaderStorage | function | core/ |
Tests css/js storage and restoring mechanism. |
| cache_context.headers | service | core/ |
Drupal\Core\Cache\Context\HeadersCacheContext |
| EntityResource::addLinkHeaders | function | core/ |
Adds link headers to a response. |
| EntityResourceTestBase::normalizeHeadersForGetHeadComparison | function | core/ |
Normalizes response headers before HEAD vs GET equality assertion. |
| Feed::setHeaders | function | core/ |
Sets headers on a response object. |
| File::getDownloadHeaders | function | core/ |
Examines a file entity and returns content headers for download. |
| FileInterface::getDownloadHeaders | function | core/ |
Examines a file entity and returns content headers for download. |
| FileUploadResourceTestBase::testPostFileUploadInvalidHeaders | function | core/ |
Tests using the file upload POST route with invalid headers. |
| FileUploadTest::testPostFileUploadInvalidHeaders | function | core/ |
Tests using the file upload POST route with invalid headers. |
| file_get_content_headers | function | core/ |
Examines a file entity and returns appropriate content headers for download. |
| FinishResponseSubscriber::addDebugCacheHeaders | function | core/ |
Adds cache metadata information as headers in the response. |
| FinishResponseSubscriberTest::testDebugCacheTagAndCacheContextsHeadersLength | function | core/ |
Tests that long tags and contexts headers are split into multiple lines. |
| FinishResponseSubscriberTest::testDebugHeaders | function | core/ |
Finish subscriber outputs tags, context, max-age if debug is on. |
| FinishResponseSubscriberTest::testDefaultHeaders | function | core/ |
Finish subscriber should set some default header values. |
| FinishResponseSubscriberTest::testExistingHeaders | function | core/ |
Finish subscriber should not overwrite existing header values. |
| HeadersCacheContext | class | core/ |
Defines the HeadersCacheContext service, for "per header" caching. |
| HeadersCacheContext.php | file | core/ |
|
| HeadersCacheContext::getCacheableMetadata | function | core/ |
Gets cacheability metadata for the context based on the parameter value. |
| HeadersCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| HeadersCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| HeadersCacheContextTest | class | core/ |
Tests Drupal\Core\Cache\Context\HeadersCacheContext. |
| HeadersCacheContextTest.php | file | core/ |
|
| HeadersCacheContextTest::providerTestGetContext | function | core/ |
Provides a list of headers and expected cache contexts. |
| HeadersCacheContextTest::testGetContext | function | core/ |
Tests get context. |
| HtmlResponseAttachmentsProcessor::setHeaders | function | core/ |
Sets headers on a response object. |
| HtmlResponseAttachmentsTest::assertTeapotHeaders | function | core/ |
Helper function to make assertions about added HTTP headers. |
| HtmlToTextTest::testHeaderSeparation | function | core/ |
Tests that headers are properly separated from surrounding text. |
| Htmx::applyHeaders | function | core/ |
Apply the header values to the render array. |
| Htmx::getHeaders | function | core/ |
Get the header storage. |
| Htmx::headers | function | core/ |
Creates a `data-hx-headers` attribute. |
| HtmxAttributesTest::testHxHeaders | function | core/ |
Test headers method. |
| HtmxHeadersTest | class | core/ |
Test all header-related Htmx public methods. |
| HtmxHeadersTest.php | file | core/ |
|
| HtmxHeadersTest::$htmx | property | core/ |
Class under test. |
| HtmxHeadersTest::$url | property | core/ |
Mocked Url object. |
| HtmxHeadersTest::apply | function | core/ |
|
| HtmxHeadersTest::setUp | function | core/ |
|
| HtmxHeadersTest::testLocationHeaderResponseData | function | core/ |
Test location header with complex data. |
| HtmxHeadersTest::testLocationHeaderUrl | function | core/ |
Test location header with simple URL object. |
| HtmxHeadersTest::testPushUrlHeader | function | core/ |
Test push url header with a simple URL object. |
| HtmxHeadersTest::testRedirectHeader | function | core/ |
Test redirect header with simple URL object. |
| HtmxHeadersTest::testRefreshHeader | function | core/ |
Test refresh header. |
| HtmxHeadersTest::testReplaceUrlHeader | function | core/ |
Test replace url header with a simple URL object. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.