FinishResponseSubscriber::RESPONSE_HEADER_CACHE_ITEM_SEPARATOR
Separator between cache tags and cache context in respective debug headers.
When setting multiple response headers with the same name, the value for the header name is meant to be interpreted as the concatenation, comma-separated, of all the header values with that name. Since the headers here are meant to be used for debug only, the values are space-separated for legibility instead.
See also
https://www.rfc-editor.org/rfc/rfc9110.html#name-field-lines-and-combin…
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ FinishResponseSubscriber.php, line 45
Class
- FinishResponseSubscriber
- Response subscriber to handle finished responses.
Namespace
Drupal\Core\EventSubscriberCode
protected const RESPONSE_HEADER_CACHE_ITEM_SEPARATOR = ' ';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.