Get HTTP cookies from HTTPRequests and process them #4

Open
opened 2 years ago by ncc1988 · 4 comments
ncc1988 commented 2 years ago
Owner

Cookies should be extracted from the header so that they can be treated (stored/discarded/...) according to the user agent's settings.

Cookies should be extracted from the header so that they can be treated (stored/discarded/...) according to the user agent's settings.
ncc1988 self-assigned this 2 years ago
ncc1988 added this to the Version 0.0.1 - "Uyghur lives matter!" milestone 2 years ago
ncc1988 added a new dependency 2 years ago
ncc1988 added the
TODO
label 11 months ago
ncc1988 added the
enhancement
label 11 months ago
ncc1988 changed title from Get HTTP cookies from MNENetProtocolHandler and store them to Get HTTP cookies from HTTPRequests and store them 10 months ago
ncc1988 changed title from Get HTTP cookies from HTTPRequests and store them to Get HTTP cookies from HTTPRequests and process them 9 months ago
Poster
Owner

Note: By default, cookies shall not be stored (not even temporarily) for privacy reasons. Sending a received cookie back must be explicitly allowed. Furthermore, a cookie from a subdomain (e.g. a.example.org) must not be sent if the main domain (example.org) is accessed, unless explicitly allowed by the user.

Note: By default, cookies shall not be stored (not even temporarily) for privacy reasons. Sending a received cookie back must be explicitly allowed. Furthermore, a cookie from a subdomain (e.g. a.example.org) must not be sent if the main domain (example.org) is accessed, unless explicitly allowed by the user.
Poster
Owner

TODO:

  • Add a CookieJar instance in MNE on construction.
  • Add a getter to get a shared pointer to the cookie jar instance.
  • Add a setter to set another cookie jar as the engine's cookie jar.
  • Add a cookie policy attribute in MNE, defining the policy for accepting cookies.
  • Add a getter and a setter for the cookie policy attribute.
  • Integrate the CookieJar in the openUrl method for requests using HTTP(S): If cookies are stored for the specified domain, add HTTP headers before sending data and look for cookie header fields in the response. If cookies are received, store them in the cookie jar.
TODO: - [x] Add a CookieJar instance in MNE on construction. - [x] Add a getter to get a shared pointer to the cookie jar instance. - [x] Add a setter to set another cookie jar as the engine's cookie jar. - [x] Add a cookie policy attribute in MNE, defining the policy for accepting cookies. - [x] Add a getter and a setter for the cookie policy attribute. - [x] Integrate the CookieJar in the openUrl method for requests using HTTP(S): If cookies are stored for the specified domain, add HTTP headers before sending data and look for cookie header fields in the response. If cookies are received, store them in the cookie jar.
ncc1988 added
DOING
wiki-doc-TODO
and removed
TODO
labels 9 months ago
ncc1988 removed the
DOING
label 9 months ago
ncc1988 added the
DOING
label 9 months ago
Poster
Owner

TODO: Regard cookie policy before storing cookies!

TODO: Regard cookie policy before storing cookies!
ncc1988 modified the milestone from Version 0.0.1 - "Uyghur lives matter!" to Version 0.0.2 5 months ago
Poster
Owner

The milestone has been moved to version 0.0.2 since the cookie policy support is incomplete in version 0.0.1.

The milestone has been moved to version 0.0.2 since the cookie policy support is incomplete in version 0.0.1.
ncc1988 modified the milestone from Version 0.0.2 to Version 0.0.1 - "Uyghur lives matter!" 5 months ago
ncc1988 modified the milestone from Version 0.0.1 - "Uyghur lives matter!" to Version 0.0.2 5 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Loading…
There is no content yet.