Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Add import request options #76

@sanderd17

Description

@sanderd17

To me, import on the browser looks like a http request followed by evaluation of the code.

But with http requests (like on the fetch function), you can add extra data: authentication, a body, etc. See documentation on the fetch function

I don't see that specified here, so I guess it doesn't exist in this proposal. But is there a reason why it doesn't exist?

Adding a body would be handy f.e. to specify a version of a module. Adding authentication would make it easier to keep your code private. Basically just the same reasons fetch supports request options.

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