Closed pnikolov closed 9 years ago
For example:
Core\Modules\Render\Adapters\Smarty
text/html
Core\Modules\Render\Adapters\JSON
application/json
After the referenced commit each Modules\Render\Adapters\* specify the render content type(MIME-type). All values are seamlessly integrated across the code. What do you think @kmotsov?
Modules\Render\Adapters\*
MIME-type
For example:
Core\Modules\Render\Adapters\Smarty
would have default rendered content type set totext/html
Core\Modules\Render\Adapters\JSON
would have default rendered content type set toapplication/json