Fixes #17823, regression from supporting progress events of chunked encoding that was breaking CORS requests