diff options
author | Federico Fissore <f.fissore@arduino.cc> | 2013-05-13 16:58:10 +0200 |
---|---|---|
committer | Federico Fissore <f.fissore@arduino.cc> | 2013-05-13 16:58:10 +0200 |
commit | b70954ea256f94afdd941e2c89a086887b496c13 (patch) | |
tree | bd9fb74f61b1351a32b8b48cef8f04863d9d6df8 /libraries/Ethernet/examples/TwitterClient | |
parent | c48c0f9e2cebe0e3ebda7aa5c4f9096b9586ed9e (diff) | |
parent | 7207108255a772474b322151cb0fd113e8030afe (diff) |
Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x-discovery
Diffstat (limited to 'libraries/Ethernet/examples/TwitterClient')
-rw-r--r-- | libraries/Ethernet/examples/TwitterClient/TwitterClient.ino | 1 |
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: |