Fixed the error with a missing content-type header