Prefer Content-Type header over contentType field.