@@ 814-816 (lines=3) @@ | ||
811 | reset($this->cookies); |
|
812 | if ( count($this->cookies) > 0 ) { |
|
813 | $cookie_headers .= 'Cookie: '; |
|
814 | foreach ( $this->cookies as $cookieKey => $cookieVal ) { |
|
815 | $cookie_headers .= $cookieKey."=".urlencode($cookieVal)."; "; |
|
816 | } |
|
817 | $headers .= substr($cookie_headers,0,-2) . "\r\n"; |
|
818 | } |
|
819 | } |
|
@@ 978-980 (lines=3) @@ | ||
975 | reset($this->cookies); |
|
976 | if ( count($this->cookies) > 0 ) { |
|
977 | $cookie_str = 'Cookie: '; |
|
978 | foreach ( $this->cookies as $cookieKey => $cookieVal ) { |
|
979 | $cookie_str .= $cookieKey."=".urlencode($cookieVal)."; "; |
|
980 | } |
|
981 | $headers[] = substr($cookie_str,0,-2); |
|
982 | } |
|
983 | } |