Skip to content

Commit 3f423d5

Browse files
committed
minor #20885 [HttpFoundation] Add FrankenPHP docs for X-Sendfile (dunglas)
This PR was submitted for the 7.3 branch but it was merged into the 6.4 branch instead. Discussion ---------- [HttpFoundation] Add FrankenPHP docs for X-Sendfile Add link to [FrankenPHP docs](https://frankenphp.dev/docs/x-sendfile/) for `X-Sendfile`. Commits ------- 0ce5ffb [HttpFoundation] Add FrankenPHP docs for X-Sendfile
2 parents 059ecfa + 0ce5ffb commit 3f423d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/http_foundation.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ Alternatively, if you are serving a static file, you can use a
854854

855855
The ``BinaryFileResponse`` will automatically handle ``Range`` and
856856
``If-Range`` headers from the request. It also supports ``X-Sendfile``
857-
(see for `nginx`_ and `Apache`_). To make use of it, you need to determine
857+
(see for `FrankenPHP`_, `nginx`_ and `Apache`_). To make use of it, you need to determine
858858
whether or not the ``X-Sendfile-Type`` header should be trusted and call
859859
:method:`Symfony\\Component\\HttpFoundation\\BinaryFileResponse::trustXSendfileTypeHeader`
860860
if it should::
@@ -1061,6 +1061,7 @@ Learn More
10611061
/session
10621062
/http_cache/*
10631063

1064+
.. _FrankenPHP: https://frankenphp.dev/docs/x-sendfile/
10641065
.. _nginx: https://mattbrictson.com/blog/accelerated-rails-downloads
10651066
.. _Apache: https://tn123.org/mod_xsendfile/
10661067
.. _`JSON Hijacking`: https://haacked.com/archive/2009/06/25/json-hijacking.aspx/

0 commit comments

Comments
 (0)