Content-Type and Content-Length properly handled