OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
guzzlehttp
/
psr7
/
src
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:34:10 AM
rwxr-xr-x
📄
AppendStream.php
6.05 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
BufferStream.php
3.28 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
CachingStream.php
4.63 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
DroppingStream.php
1.22 KB
08/12/2024 10:33:21 AM
rw-r--r--
📁
Exception
-
08/12/2024 10:34:10 AM
rwxr-xr-x
📄
FnStream.php
4.38 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
Header.php
3.98 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
HttpFactory.php
3.09 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
InflateStream.php
1.42 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
LazyOpenStream.php
1.11 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
LimitStream.php
4.35 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
Message.php
8.38 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
MessageTrait.php
7.82 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
MimeType.php
54.98 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
MultipartStream.php
5.22 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
NoSeekStream.php
552 bytes
08/12/2024 10:33:21 AM
rw-r--r--
📄
PumpStream.php
4.67 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
Query.php
4.06 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
Request.php
3.97 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
Response.php
4.95 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
Rfc7230.php
684 bytes
08/12/2024 10:33:21 AM
rw-r--r--
📄
ServerRequest.php
9.66 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
Stream.php
7.49 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
StreamDecoratorTrait.php
3.39 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
StreamWrapper.php
4.73 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
UploadedFile.php
4.96 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
Uri.php
22.17 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
UriComparator.php
1.17 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
UriNormalizer.php
8.48 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
UriResolver.php
8.58 KB
08/12/2024 10:33:21 AM
rw-r--r--
📄
Utils.php
16.04 KB
08/12/2024 10:33:21 AM
rw-r--r--
Editing: InflateStream.php
Close
<?php declare(strict_types=1); namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; /** * Uses PHP's zlib.inflate filter to inflate zlib (HTTP deflate, RFC1950) or gzipped (RFC1952) content. * * This stream decorator converts the provided stream to a PHP stream resource, * then appends the zlib.inflate filter. The stream is then converted back * to a Guzzle stream resource to be used as a Guzzle stream. * * @see https://datatracker.ietf.org/doc/html/rfc1950 * @see https://datatracker.ietf.org/doc/html/rfc1952 * @see https://www.php.net/manual/en/filters.compression.php */ final class InflateStream implements StreamInterface { use StreamDecoratorTrait; /** @var StreamInterface */ private $stream; public function __construct(StreamInterface $stream) { $resource = StreamWrapper::getResource($stream); // Specify window=15+32, so zlib will use header detection to both gzip (with header) and zlib data // See https://www.zlib.net/manual.html#Advanced definition of inflateInit2 // "Add 32 to windowBits to enable zlib and gzip decoding with automatic header detection" // Default window size is 15. stream_filter_append($resource, 'zlib.inflate', STREAM_FILTER_READ, ['window' => 15 + 32]); $this->stream = $stream->isSeekable() ? new Stream($resource) : new NoSeekStream(new Stream($resource)); } }