Skip to content

Commit

Permalink
symfony#19909 [FrameworkBundle] Add support for setting headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Timherlaud committed May 22, 2024
1 parent d4f51e6 commit 907fd69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,9 @@ provided by Symfony:
context:
site_name: 'ACME'
theme: 'dark'
# add some headers in response
headers: { 'Content-Type': 'image/svg+xml' }
.. code-block:: xml
Expand Down

0 comments on commit 907fd69

Please sign in to comment.