spinframework / spinframework/spin-rust-sdk

Discussion: how to handle redirects?

Open
#54 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
35
Forks
23
Avg merge
37m
Merged PRs (30d)
1

Description

Should the rust sdk provide a mechanism to allow devs to specify that redirects should be followed (up to some limit)? For instance, there are various crates that provide this support for hyper clients which seems fairly useful.

I'm not entirely sure at the moment what the other sdks do regarding this behavior but if there is a precedent we should likely follow that if it exists.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking how the other SDKs handle redirects and reviewing the Rust crates mentioned for adding redirect support to hyper clients. Clarify whether the Rust SDK should expose configurable redirect behavior and a maximum limit; done when the cross-SDK behavior and public API scope are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.