spinframework / spinframework/spin
Gotcha when using outbound HTTP (bodies with GET requests)
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.5k
- Forks
- 310
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 24
Description
The current implementation just silently drops request bodies attached to GET requests inheriting the behavior of Hyper. I'm not against the fact that we don't support bodies on GET requests, but it can be a pretty big gotcha when most SDKs default to GET requests.
Contributor guide
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.
Research direction
Start by tracing Spin's outbound HTTP handling and compare its GET request behavior with Hyper, focusing on how attached request bodies are processed. Clarify the intended handling for GET bodies and verify that the behavior is no longer silent before adding focused coverage for the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100