title: How to change Content Type for Request Header in Symfony 2?
body: <p>I have this legacy code in Symfony 2. I don't know much about Symfony and I have this requests that have JSON formatted content, but the header has content type: application/x-www-form-urlencoded; charset=UTF-8. I need to change this to application/json, but I can't find where Symfony dispatches the request to the server.</p>