|
@@ 742-744 (lines=3) @@
|
| 739 |
|
reset($this->cookies); |
| 740 |
|
if (count($this->cookies) > 0) { |
| 741 |
|
$cookie_headers .= 'Cookie: '; |
| 742 |
|
foreach ($this->cookies as $cookieKey => $cookieVal) { |
| 743 |
|
$cookie_headers .= $cookieKey . "=" . urlencode($cookieVal) . "; "; |
| 744 |
|
} |
| 745 |
|
$headers .= substr($cookie_headers, 0, -2) . "\r\n"; |
| 746 |
|
} |
| 747 |
|
} |
|
@@ 906-908 (lines=3) @@
|
| 903 |
|
reset($this->cookies); |
| 904 |
|
if (count($this->cookies) > 0) { |
| 905 |
|
$cookie_str = 'Cookie: '; |
| 906 |
|
foreach ($this->cookies as $cookieKey => $cookieVal) { |
| 907 |
|
$cookie_str .= $cookieKey . "=" . urlencode($cookieVal) . "; "; |
| 908 |
|
} |
| 909 |
|
$headers[] = substr($cookie_str, 0, -2); |
| 910 |
|
} |
| 911 |
|
} |