Skip to content

...options not honoured #23

@9swampy

Description

@9swampy

Describe the bug
If Fetch RequestInit ...options supplied then the default method: GET overrides supplied.

To Reproduce
Attempt to provide a body; download will error because you can't GET with a body.
useDownloader( { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify(''), }

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