contentLength and contentType were redundant