jossef / jossef/requests

cookie handling with browser

Open
#94 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
143
Forks
52
PR merge metrics
No merged PRs in 30d

Description

**Cookies management is very approximate on browser because the browser manages it itself **
For example, we can't read the cookies values, especially for CORS cookies.

**Add a proxy web server**
My solution is to use an HTTP proxy server which takes the request header cookie-unsecure and converts it to a cookie. And then convert set-cookie to set-cookie-unsecure.
However, it needs to modify the request to send the cookies through cookie-unsecure and read it from set-cookie-unsecure.

My solution is full of drawbacks, so don't hesitate to suggest some other solutions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.