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