requests
requests copied to clipboard
cookie handling with browser
**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.