http_middleware icon indicating copy to clipboard operation
http_middleware copied to clipboard

PUT request does not copy headers from middleware

Open mrdavidrees opened this issue 5 years ago • 1 comments

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

mrdavidrees avatar Apr 30 '19 02:04 mrdavidrees

Seems like pub just need to be updated as it is fixed in the repo 6 months ago

mrdavidrees avatar May 16 '19 02:05 mrdavidrees