Files
sdk/pkg/dev_compiler/test
Nicholas Shahan 3526954466 [ddc] Update content-length to not be negative
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>
2022-07-21 00:45:35 +00:00
..