Skip to content

Commit

Permalink
Update base_response.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Jan 12, 2024
1 parent dacee59 commit 6577131
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/http/lib/src/base_response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 ",<valid token>=" is more likely to
// start a new <cookie-pair> then be part of <path-value> or <extension-av>.
Expand Down

0 comments on commit 6577131

Please sign in to comment.