Skip to content

Commit

Permalink
Fix: Bug#126 flutter_ume_kit_dio_plus failed to parse request headers
Browse files Browse the repository at this point in the history
修复问题:bytedance#126

(cherry picked from commit d8ad830)
  • Loading branch information
jixiaoyong committed Jul 18, 2023
1 parent e66342d commit d4ce854
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class _ResponseCardState extends State<_ResponseCard> {
final Map<String, List<String>> map = _request.headers.map(
(key, value) => MapEntry(
key,
value is Iterable ? value.map((v) => v.toString()).toList() : [value],
value is Iterable ? value.map((v) => v.toString()).toList() : [value.toString()],
),
);
final Headers headers = Headers.fromMap(map);
Expand Down

0 comments on commit d4ce854

Please sign in to comment.