Skip to content

Commit 907fd69

Browse files
authored
#19909 [FrameworkBundle] Add support for setting headers
1 parent d4f51e6 commit 907fd69

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,9 @@ provided by Symfony:
704704
context:
705705
site_name: 'ACME'
706706
theme: 'dark'
707+
708+
# add some headers in response
709+
headers: { 'Content-Type': 'image/svg+xml' }
707710
708711
.. code-block:: xml
709712

0 commit comments

Comments
 (0)