Fixing an issue where content-type header was staying around after POST requests