Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit a6cc826

Browse files
committed
fix(http): fix header map type for http.call()
Headers could be set to a String or a Function. The type has to be dynamic.
1 parent 4707826 commit a6cc826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core_dom/http.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ class Http {
431431
String method,
432432
data,
433433
Map<String, dynamic> params,
434-
Map<String, String> headers,
434+
Map<String, dynamic> headers,
435435
xsrfHeaderName,
436436
xsrfCookieName,
437437
interceptors,

0 commit comments

Comments
 (0)