summaryrefslogtreecommitdiffstats
path: root/vendor/guzzlehttp/psr7/src/Request.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:30:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:30:22 +0000
commit9919ea7a76a4bf1eaffe5e288ab82dcafeb775ce (patch)
treeb00a07aca10f581c2be69d612a0a397a415eeb6b /vendor/guzzlehttp/psr7/src/Request.php
parentReleasing progress-linux version 0.13.1-1~progress7.99u1. (diff)
downloadicinga-php-library-9919ea7a76a4bf1eaffe5e288ab82dcafeb775ce.tar.xz
icinga-php-library-9919ea7a76a4bf1eaffe5e288ab82dcafeb775ce.zip
Merging upstream version 0.13.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/guzzlehttp/psr7/src/Request.php')
-rw-r--r--vendor/guzzlehttp/psr7/src/Request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/guzzlehttp/psr7/src/Request.php b/vendor/guzzlehttp/psr7/src/Request.php
index db29d95..faafe1a 100644
--- a/vendor/guzzlehttp/psr7/src/Request.php
+++ b/vendor/guzzlehttp/psr7/src/Request.php
@@ -28,7 +28,7 @@ class Request implements RequestInterface
/**
* @param string $method HTTP method
* @param string|UriInterface $uri URI
- * @param array<string, string|string[]> $headers Request headers
+ * @param (string|string[])[] $headers Request headers
* @param string|resource|StreamInterface|null $body Request body
* @param string $version Protocol version
*/
@@ -143,7 +143,7 @@ class Request implements RequestInterface
$this->headerNames['host'] = 'Host';
}
// Ensure Host is the first header.
- // See: http://tools.ietf.org/html/rfc7230#section-5.4
+ // See: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4
$this->headers = [$header => [$host]] + $this->headers;
}