Opened 11 years ago
Closed 11 years ago
#33711 closed enhancement (fixed)
Introduce HTTP API response cookie functions
| Reported by: | johnbillion | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | HTTP API | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 34369: