Added a parameter for sending content-length