Fix content-type not being set on POST requests with headers