clockworklabs / clockworklabs/SpacetimeDB
Define default behaviors for making HTTP requests within modules
@coolreader18 is already working on this.
Since Nov 18, 2025.
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
In the unstable MVP of procedures, we're being somewhat hand-wavy about certain behaviors of our HTTP API, particularly:
- Redirect following.
- Retries.
- The distinction between connect timeout and download timeout.
Our WASM languages use reqwest internally at this time, which seems to have sensible defaults. We also use a single shared timeout for both connect and download.
At some point in the future, we may want to expose a way to configure these things, something like a ctx.http.send_with_options(request, options). That's not what this ticket is about.
In this ticket, we should determine and document what our default behaviors are, and ensure that they are consistent between WASM languages and V8 languages.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.