mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Downgrading to HTTP 1.0 to prevent HTTP Chunked Transfer Encoding.
This commit is contained in:
		
				
					committed by
					
						 Benoît Blanchon
						Benoît Blanchon
					
				
			
			
				
	
			
			
			
						parent
						
							45bbf6db86
						
					
				
				
					commit
					90e0cc6091
				
			| @@ -87,7 +87,7 @@ bool sendRequest(const char* host, const char* resource) { | |||||||
|  |  | ||||||
|   client.print("GET "); |   client.print("GET "); | ||||||
|   client.print(resource); |   client.print(resource); | ||||||
|   client.println(" HTTP/1.1"); |   client.println(" HTTP/1.0"); | ||||||
|   client.print("Host: "); |   client.print("Host: "); | ||||||
|   client.println(server); |   client.println(server); | ||||||
|   client.println("Connection: close"); |   client.println("Connection: close"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user