Handling for situations where the content-length header is not provided with request response headers