SurrogateInterface::addSurrogateControl()

addSurrogateControl(Response $response)

Adds HTTP headers to specify that the Response needs to be parsed for Surrogate.

This method only adds an Surrogate HTTP header if the Response has some Surrogate tags.

Parameters

Response $response A Response instance
doc_Symfony
2016-10-28 06:33:43
Comments
Leave a Comment

Please login to continue.