3526954466
The null safety migration changed the 'content-length' from null to -1 but a separate change at the same time disallowed negative values. Now returning what the 'content-length' would be if the request was a GET. Fixes: https://github.com/dart-lang/sdk/issues/49483 Change-Id: I2ba3ce1fb604c0fac50f354f56b3d29de6465caa Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252005 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>