Skip to content

Commit

Permalink
Fix tests on 3.4: it is more string with parameter counts
Browse files Browse the repository at this point in the history
  • Loading branch information
mraleph committed Nov 14, 2024
1 parent 5a6cea6 commit 49f3b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/http/lib/src/browser_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class BrowserClient extends BaseClient {

final headers = <String, String>{};
(response.headers as _IterableHeaders)
.forEach((String value, String header) {
.forEach((String value, String header, [JSAny? _]) {
headers[header.toLowerCase()] = value;
}.toJS);

Expand Down

0 comments on commit 49f3b3c

Please sign in to comment.