adding content-length header to httpCall