-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
javascriptThis issue is in the JS impit bindings.This issue is in the JS impit bindings.pythonThis issue is in the Python impit bindings.This issue is in the Python impit bindings.rustThis issue concerns the Rust part of this monorepo.This issue concerns the Rust part of this monorepo.t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.
Description
While it's currently possible to work with Cookies (by manually updating the HTTP headers of the request and parsing for the set-cookie headers in the response) in both impit language bindings, it's far from ergonomic.
httpx (in Python) exposes their own wrapper over CookieJar, which might be a good starting point.
The fetch API in JS doesn't seem to have a dedicated cookies option, but adding one (something like fetch('https://example.org', {cookies: {...}})) might actually result in a net positive (despite diverting from the original API).
Mantisus
Metadata
Metadata
Assignees
Labels
javascriptThis issue is in the JS impit bindings.This issue is in the JS impit bindings.pythonThis issue is in the Python impit bindings.This issue is in the Python impit bindings.rustThis issue concerns the Rust part of this monorepo.This issue concerns the Rust part of this monorepo.t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.