forked from bblanchon/ArduinoJson
Downgrading to HTTP 1.0 to prevent HTTP Chunked Transfer Encoding.
This commit is contained in:
1 parent
45bbf6db86
commit
90e0cc6091
1 file changed
+1
-1
@@ -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