Файловый менеджер - Редактировать - /home/barghamad/public_html/wp-includes/widgets/Response.tar
Назад
Headers.php 0000644 00000004127 15057757532 0006654 0 ustar 00 <?php /** * Case-insensitive dictionary, suitable for HTTP headers * * @package Requests */ /** * Case-insensitive dictionary, suitable for HTTP headers * * @package Requests */ class Requests_Response_Headers extends Requests_Utility_CaseInsensitiveDictionary { /** * Get the given header * * Unlike {@see self::getValues()}, this returns a string. If there are * multiple values, it concatenates them with a comma as per RFC2616. * * Avoid using this where commas may be used unquoted in values, such as * Set-Cookie headers. * * @param string $key * @return string|null Header value */ public function offsetGet($key) { $key = strtolower($key); if (!isset($this->data[$key])) { return null; } return $this->flatten($this->data[$key]); } /** * Set the given item * * @throws Requests_Exception On attempting to use dictionary as list (`invalidset`) * * @param string $key Item name * @param string $value Item value */ public function offsetSet($key, $value) { if ($key === null) { throw new Requests_Exception('Object is a dictionary, not a list', 'invalidset'); } $key = strtolower($key); if (!isset($this->data[$key])) { $this->data[$key] = array(); } $this->data[$key][] = $value; } /** * Get all values for a given header * * @param string $key * @return array|null Header values */ public function getValues($key) { $key = strtolower($key); if (!isset($this->data[$key])) { return null; } return $this->data[$key]; } /** * Flattens a value into a string * * Converts an array into a string by imploding values with a comma, as per * RFC2616's rules for folding headers. * * @param string|array $value Value to flatten * @return string Flattened value */ public function flatten($value) { if (is_array($value)) { $value = implode(',', $value); } return $value; } /** * Get an iterator for the data * * Converts the internal * @return ArrayIterator */ public function getIterator() { return new Requests_Utility_FilteredIterator($this->data, array($this, 'flatten')); } } error_log 0000644 00000013516 15057757532 0006507 0 ustar 00 [19-Jun-2021 10:35:14 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [15-Oct-2021 21:52:29 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [26-Nov-2021 17:04:16 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [02-Dec-2021 02:48:31 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [24-Jan-2022 17:48:10 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [24-Apr-2022 13:34:13 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [09-Jun-2022 03:12:16 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [23-Jun-2022 13:25:06 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [12-Sep-2022 21:08:39 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [28-Sep-2022 12:55:36 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [12-Oct-2022 02:14:56 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [18-Oct-2022 12:48:50 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [29-Nov-2022 13:33:40 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [16-Dec-2022 07:11:35 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [24-Feb-2023 17:27:55 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [26-Mar-2023 23:10:51 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [12-Apr-2023 08:49:44 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [31-May-2023 00:25:44 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13 [06-Jul-2023 21:24:42 UTC] PHP Fatal error: Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php:13 Stack trace: #0 {main} thrown in /home/barghamad/public_html/wp-includes/Requests/Response/Headers.php on line 13
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка