Added accept and content-type headers
Added accept and content-type headers

This will force request to not use the default browser headers.

fixes #2461

springfox/springfox,springfox/springfox,springfox/springfox,springfox/springfox