aboutsummaryrefslogtreecommitdiff
path: root/libraries/Ethernet/examples/TwitterClient
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Ethernet/examples/TwitterClient')
-rw-r--r--libraries/Ethernet/examples/TwitterClient/TwitterClient.ino1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/Ethernet/examples/TwitterClient/TwitterClient.ino b/libraries/Ethernet/examples/TwitterClient/TwitterClient.ino
index 3587d72..9fee1fe 100644
--- a/libraries/Ethernet/examples/TwitterClient/TwitterClient.ino
+++ b/libraries/Ethernet/examples/TwitterClient/TwitterClient.ino
@@ -127,6 +127,7 @@ void connectToServer() {
// make HTTP GET request to twitter:
client.println("GET /1/statuses/user_timeline.xml?screen_name=arduino&count=1 HTTP/1.1");
client.println("HOST: api.twitter.com");
+ client.println("Connection: close");
client.println();
}
// note the time of this connect attempt: