GRAYBYTE WORDPRESS FILE MANAGER1243

Server IP : 162.213.255.40 / Your IP : 216.73.216.114
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/plugins/updraftplus/vendor/guzzlehttp/psr7/src/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/plugins/updraftplus/vendor/guzzlehttp/psr7/src//Header.php
<?php

namespace GuzzleHttp\Psr7;

final class Header
{
    /**
     * Parse an array of header values containing ";" separated data into an
     * array of associative arrays representing the header key value pair data
     * of the header. When a parameter does not contain a value, but just
     * contains a key, this function will inject a key with a '' string value.
     *
     * @param string|array $header Header to parse into components.
     *
     * @return array Returns the parsed header values.
     */
    public static function parse($header)
    {
        static $trimmed = "\"'  \n\t\r";
        $params = $matches = [];

        foreach (self::normalize($header) as $val) {
            $part = [];
            foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) as $kvp) {
                if (preg_match_all('/<[^>]+>|[^=]+/', $kvp, $matches)) {
                    $m = $matches[0];
                    if (isset($m[1])) {
                        $part[trim($m[0], $trimmed)] = trim($m[1], $trimmed);
                    } else {
                        $part[] = trim($m[0], $trimmed);
                    }
                }
            }
            if ($part) {
                $params[] = $part;
            }
        }

        return $params;
    }

    /**
     * Converts an array of header values that may contain comma separated
     * headers into an array of headers with no comma separated values.
     *
     * @param string|array $header Header to normalize.
     *
     * @return array Returns the normalized header field values.
     */
    public static function normalize($header)
    {
        if (!is_array($header)) {
            return array_map('trim', explode(',', $header));
        }

        $result = [];
        foreach ($header as $value) {
            foreach ((array) $value as $v) {
                if (strpos($v, ',') === false) {
                    $result[] = $v;
                    continue;
                }
                foreach (preg_split('/,(?=([^"]*"[^"]*")*[^"]*$)/', $v) as $vv) {
                    $result[] = trim($vv);
                }
            }
        }

        return $result;
    }
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:28
hellrfbn / hellrfbn
0644
AppendStream.php
5.633 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
BufferStream.php
3.007 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
CachingStream.php
4.346 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
DroppingStream.php
1.068 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
FnStream.php
3.865 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
Header.php
2.127 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
InflateStream.php
1.802 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
LazyOpenStream.php
0.879 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
LimitStream.php
4.126 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
Message.php
8.082 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
MessageTrait.php
7.672 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
MimeType.php
4.989 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
MultipartStream.php
4.657 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
NoSeekStream.php
0.429 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
PumpStream.php
3.988 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
Query.php
3.408 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
Request.php
3.632 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
Response.php
4.696 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
Rfc7230.php
0.675 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
ServerRequest.php
9.621 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
Stream.php
6.65 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
StreamDecoratorTrait.php
3.214 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
StreamWrapper.php
3.69 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
UploadedFile.php
7.589 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
Uri.php
22.361 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
UriComparator.php
1.147 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
UriNormalizer.php
8.136 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
UriResolver.php
8.583 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
Utils.php
14.329 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
functions.php
13.095 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644
functions_include.php
0.152 KB
February 05 2025 15:45:31
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF