Jasonette / Jasonette/JASONETTE-iOS

setting a session header obliterates all other session headers

Open
#312 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.2k
Forks
347
PR merge metrics
No merged PRs in 30d

Description

Apps may need to have several session headers. at the moment, all prior session headers are reset (deleted) upon setting of any header.

This is not necessary. If an app needs to remove all headers, it can call `$session.rest`.

I would like to request the more general behavior of only changing the header supplied to `$session.set` at that time.

This also happens on the Android side; I hope this bug can serve for both platforms, but can file one separately if necessary.

Contributor guide

Open the contributing guide

Research direction

Locate the implementations of $session.set and $session.rest on the iOS side, then check the corresponding Android session handling mentioned in the issue. Verify how existing headers are stored and replaced; done means setting one header preserves the others while $session.rest still removes them all on both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, javascript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.