mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This is already handled by pkg:shelf There is some subtlety with String here, since String.length might not align with the size in bytes over the wire, depending on the contents and the encoding Best to just let pkg:shelf handle it