diff --git a/pkgs/http/lib/src/base_response.dart b/pkgs/http/lib/src/base_response.dart index ef3af77ef9..3a4c380cf6 100644 --- a/pkgs/http/lib/src/base_response.dart +++ b/pkgs/http/lib/src/base_response.dart @@ -92,8 +92,7 @@ var _headerSplitter = RegExp(r'[ \t]*,[ \t]*'); // "Set-Cookie: SID=x23" // and: // "Set-Cookie: lang=en; Path=/foo/,SID=x23" -// would both be represented with: -// "lang=en; Path=/foo/,SID=x23" +// would both be result in `response.headers` => "lang=en; Path=/foo/,SID=x23" // // The idea behind this regex is that ",=" is more likely to // start a new then be part of or .