softwaremill / softwaremill/sttp
FollowRedirects, set-cookie, final response cookie contents & cookies given on each re-direct request (GSoC 2026)
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.5k
- Forks
- 338
- Avg merge
- 8h 59m
- Merged PRs (30d)
- 13
Description
Being redirected will not apply cookies to the subsequent requests, even if the sensitive headers is fully unset.
After the request chain completes the last response receive only has set cookies from that response, not from all the requests leading up to it.
Resolution is unclear as there are a few options.
Keeping things as is, maybe improving documentation in regards to edge cases & potential solutions.
Some new configuration option to the FollowRedirectsBackend
which applies cookies on re-direct chain requests, maybe selecting from some collection cookies that are for the same domain as the location?
updating response cookies to also include cookies set during the request chain or a new method that merges request history & cookies.
Thank you!
Azad kumar
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.
Research direction
Start with the FollowRedirectsBackend and trace how cookies are handled across redirected requests and in the final response. First resolve which behavior is wanted—preserving cookies for subsequent redirects, merging response cookies, or documenting the edge cases; done means the selected behavior or documentation is implemented and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100