Issue Bug Closed

#60624JSON view does not set HTTP header field "Content-Type" correctly

most wanted 07/27/14, 17:10 updated 10/02/18, 11:52

Description

The TYPO3 Flow’s JSON view was backported to TYPO3 6.2. Using it should result in a HTTP response with HTTP header field “Content-Type” set to “application/json”.

Although TYPO3\CMS\Extbase\Mvc\View\JsonView::render() sets the HTTP field “Content-Type” in the first place, but finally it is not delivered to the browser/API client.

Reviews 1