[Mapbender-commits] r10059 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Feb 20 11:19:33 PST 2019


Author: armin11
Date: 2019-02-20 11:19:32 -0800 (Wed, 20 Feb 2019)
New Revision: 10059

Modified:
   trunk/mapbender/http/classes/class_connector.php
Log:
Workaround to send no host:port header whendoing http-get requests via curl

Modified: trunk/mapbender/http/classes/class_connector.php
===================================================================
--- trunk/mapbender/http/classes/class_connector.php	2019-02-19 08:52:32 UTC (rev 10058)
+++ trunk/mapbender/http/classes/class_connector.php	2019-02-20 19:19:32 UTC (rev 10059)
@@ -317,7 +317,7 @@
 				$headers = array(
 						"GET ".$path." HTTP/1.1",
 						"User-Agent: ".$useragent,
-           					"Host: ".$host.":".$port,
+           					//"Host: ".$host.":".$port,
 	           		 		"Accept: */*",
 						"Proxy-Connection: Keep-Alive"
 				);



More information about the Mapbender_commits mailing list