Jasonette / JASONETTE-iOS

📡 Native App over HTTP, on iOS
https://www.jasonette.com
MIT License
5.27k stars 352 forks source link

setting a session header obliterates all other session headers #312

Open cpg opened 6 years ago

cpg commented 6 years ago

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.