This is needed for the S3 gateway to conform to the S3 protocol -- the server should always respect the Content-Type set by client.