dealing with the case where there's no content-length header