http_middleware
http_middleware copied to clipboard
PUT request does not copy headers from middleware
The bug is on line 67/68 of http_with_middleware.dart
Can you please update return _withClient((client) => client.post(data.url, headers: headers, body: data.body, encoding: data.encoding));
to
return _withClient((client) => client.post(data.url, headers: data.headers, body: data.body, encoding: data.encoding));
i'm not sure if line 48 also has this issue
Seems like pub just need to be updated as it is fixed in the repo 6 months ago