Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-includes
/
Requests
/
Response
/
File Content:
Headers.php
<?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 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 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')); } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
Category.php
3944 bytes
0644
Exception.php
1214 bytes
0644
Headers.php
2125 bytes
0604
admin-bar.css
23876 bytes
0644
autoload.php
2731 bytes
0644
block.json
601 bytes
0644
categories-20260704230247.php
2570 bytes
0644
categories.php
2570 bytes
0644
class-json.php
43441 bytes
0644
class-wp-http-streams-20260707100109.php
16117 bytes
0644
class-wp-http-streams.php
16117 bytes
0644
class-wp-network-query.php
19169 bytes
0644
class-wp-network.php
12379 bytes
0644
class-wp-oembed-controller-20260621150705.php
6793 bytes
0644
class-wp-oembed-controller.php
6793 bytes
0644
class-wp-site-query.php
29308 bytes
0644
class-wp-site.php
7428 bytes
0644
class-wp-sitemaps-posts.php
5875 bytes
0644
class-wp-sitemaps-stylesheet.php
8599 bytes
0644
class-wp-sitemaps.php
6290 bytes
0644
class-wp-theme.php
51601 bytes
0644
customize-loader.js
7904 bytes
0644
data.js
147192 bytes
0644
fsockopen.php
12436 bytes
0644
https-detection-20260623211809-20260706051205.php
6871 bytes
0644
https-detection-20260623211809.php
6871 bytes
0644
https-detection-20260624211708.php
6871 bytes
0644
https-detection.php
6871 bytes
0644
https-migration-20260621215951.php
4730 bytes
0644
https-migration-20260621222700-20260622020253.php
4730 bytes
0644
https-migration-20260621222700.php
4730 bytes
0644
https-migration-20260622015718.php
4730 bytes
0644
https-migration-20260622015741-20260624002128.php
4730 bytes
0644
https-migration-20260622015741.php
4730 bytes
0644
https-migration-20260622015815.php
4730 bytes
0644
https-migration-20260622055634.php
4730 bytes
0644
https-migration-20260622194220.php
4730 bytes
0644
https-migration-20260622204948.php
4730 bytes
0644
https-migration-20260622211332-20260624033103.php
4730 bytes
0644
https-migration-20260622211332.php
4730 bytes
0644
https-migration-20260622211518-20260623031333.php
4730 bytes
0644
https-migration-20260622211518.php
4730 bytes
0644
https-migration.php
4730 bytes
0644
jquery.form.js
41023 bytes
0644
ms-blogs.php
25174 bytes
0644
nav-menu-template.php
23296 bytes
0644
php72compat_const-20260705065845.php
4597 bytes
0644
php72compat_const.php
4597 bytes
0644
plural-forms.php
7612 bytes
0644
post-thumbnail-template.php
9353 bytes
0644
revision.php
22027 bytes
0644
shortcode-20260622010901.php
697 bytes
0644
shortcode.php
697 bytes
0644
style-rtl.css
68520 bytes
0644
taxonomy.php
165888 bytes
0644
thickbox.css
2659 bytes
0644
N4ST4R_ID | Naxtarrr