static int getContentLength({ required Map headers, }) { return int.tryParse(headers['content-length'] ?? "0") ?? 0; }