Skip to content

PUT request does not copy headers from middleware #10

@mrdavidrees

Description

@mrdavidrees

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions