Is this necessary? Isn't the content-type header sufficient?