|
@@ 443-445 (lines=3) @@
|
| 440 |
|
reset($this->cookies); |
| 441 |
|
if ( count($this->cookies) > 0 ) { |
| 442 |
|
$cookie_headers .= 'Cookie: '; |
| 443 |
|
foreach ( $this->cookies as $cookieKey => $cookieVal ) { |
| 444 |
|
$cookie_headers .= $cookieKey."=".urlencode($cookieVal)."; "; |
| 445 |
|
} |
| 446 |
|
$headers .= substr($cookie_headers,0,-2) . "\r\n"; |
| 447 |
|
} |
| 448 |
|
} |
|
@@ 614-616 (lines=3) @@
|
| 611 |
|
reset($this->cookies); |
| 612 |
|
if ( count($this->cookies) > 0 ) { |
| 613 |
|
$cookie_str = 'Cookie: '; |
| 614 |
|
foreach ( $this->cookies as $cookieKey => $cookieVal ) { |
| 615 |
|
$cookie_str .= $cookieKey."=".urlencode($cookieVal)."; "; |
| 616 |
|
} |
| 617 |
|
$headers[] = substr($cookie_str,0,-2); |
| 618 |
|
} |
| 619 |
|
} |