Skip to content

JSONP output should have content type of application/javascript #146

clayhinson opened this Issue May 8, 2012 · 2 comments

3 participants

The Frapi Project member

In the JSON output formatter JSON.php, JSONP output is sent using the content type 'application/json'. This should be sent as 'application/javascript' since the response is interpreted as pure JS instead of JSON.

scoates commented May 8, 2012


The Frapi Project member
dshafik commented May 15, 2012

This should be fixed by #145 and #147

  • #145: will now respond with the requested mimetype (e.g. Accept: application/javascript will respond with application/javascript)
  • #147: if you request .js extension, it now defaults to application/javascript (used to be text/javascript)
@dshafik dshafik closed this May 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.