composer update
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/guzzlehttp/psr7/src/Request.php
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/guzzlehttp/psr7/src/Request.php
									
									
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ class Request implements RequestInterface | ||||
|         $this->setHeaders($headers); | ||||
|         $this->protocol = $version; | ||||
|  | ||||
|         if (!$this->hasHeader('Host')) { | ||||
|         if (!isset($this->headerNames['host'])) { | ||||
|             $this->updateHostFromUri(); | ||||
|         } | ||||
|  | ||||
| @@ -110,7 +110,7 @@ class Request implements RequestInterface | ||||
|         $new = clone $this; | ||||
|         $new->uri = $uri; | ||||
|  | ||||
|         if (!$preserveHost) { | ||||
|         if (!$preserveHost || !isset($this->headerNames['host'])) { | ||||
|             $new->updateHostFromUri(); | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Manish Verma
					Manish Verma