txt: text/plain
js: [application/javascript, application/x-javascript, text/javascript]
css: text/css
json: [application/json, application/x-json]
xml: [text/xml, application/xml, application/x-xml]
rdf: application/rdf+xml
atom: application/atom+xml
It is used by the framework to automatically manage the Content-Type of the response, based on the request URI extension.
Yukarıdaki gibi, .js
uzantısı, nasıl Symfony nihai içerik türünü seçmeniz gelmez için 3 farklı içerik türleri vardır?