public function addCookiesFromResponse(HTTP_Request2_Response $response, Net_URL2 $setter)
    {
        foreach ($response->getCookies() as $cookie) {
            $this->store($cookie, $setter);
        }
    }
public function addCookiesFromResponse(HTTP_Request2_Response $response, Net_URL2 $setter)
    {
        foreach ($response->getCookies() as $cookie) {
            $this->store($cookie, $setter);
        }
    }
public function addCookiesFromResponse ( HTTP_Request2_Response $ response , Net_URL2 $ setter ) { foreach ( $ response -> getCookies ( ) as $ cookie ) { $ this -> store ( $ cookie , $ setter ) ; } }
Adds cookies set in HTTP response to the jar

@param HTTP_Request2_Response $response HTTP response message
@param Net_URL2               $setter   original request URL, needed for
setting default domain/path
Adds cookies set in HTTP response to the jar