HTTP_Client_CookieManager::updateCookies()
HTTP_Client_CookieManager::updateCookies() – Updates cookie list from HTTP server response
Synopsis
require_once 'HTTP/Client/CookieManager.php';
void HTTP_Client_CookieManager::updateCookies (
object HTTP_Request &$request
)
Description
This method gets the cookies from HTTP response received by HTTP_Request instance and adds them to the object's internal list.
Parameter
-
object HTTP_Request
&$request
-
HTTP_Request object containing the HTTP response, i.e. its sendRequest() should already be called.
Throws
throws no exceptions thrown
See
see passCookies(), addCookie()
Note
This function can not be called statically.