One thing to note is that some servers will recognize: application/javascript as application/json as well.