Opened 9 years ago
Closed 9 years ago
#33711 closed enhancement (fixed)
Introduce HTTP API response cookie functions
Reported by: | johnbillion | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | HTTP API | Keywords: | has-patch |
Focuses: | Cc: |
Description
We have several HTTP API helper functions for retrieving the response code, body, and headers, but none for the cookies or an individual cookie.
Let's introduce:
array wp_remote_retrieve_cookies( $response )
WP_Http_Cookie wp_remote_retrieve_cookie( $response, $cookie )
string wp_remote_retrieve_cookie_value( $response, $cookie )
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 34369: