Skip to content

Abstract perform_https_request so that it can be used in Wasm context #35

@carlopi

Description

@carlopi

This is something I touched on recently while looking at what would it take to make possible for https://github.com/duckdb/uc_catalog to work in a Web context.

Problem is basically how to wrap a minimal API that allows to make requests either natively OR from WebAssembly (there Web and Node might be two slightly different challenges).

I think I know what's the way forward, and implementing a curl wrapper (say as a header) would allow to solve the problems in:

  • duckdb/uc_catalog
  • evidence-dev/duckdb_gsheets
    and possibly elsewhere.

I think it's likely on me, I can ping when I have a solution.

Given it's currently not functional, I opened a PR to disable Wasm, @archiewood, WDYT? (duckdb/community-extensions#169)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions