BinaryFileResponse::prepare()

Response prepare(Request $request)

Prepares the Response before it is sent to the client.

This method tweaks the Response to ensure that it is compliant with RFC 2616. Most of the changes are based on the Request that is "associated" with this Response.

Parameters

Request $request A Request instance

Return Value

Response The current response.
doc_Symfony
2016-10-28 06:06:54
Comments
Leave a Comment

Please login to continue.