Keep-Alives should be working now use HTTP/1.1 204 No Content\r\n\r\n

0 views
Skip to first unread message

Monica Keller

unread,
Dec 22, 2009, 2:40:01 AM12/22/09
to MySpace APIs
Hi Guys
Here are some tips from our infrastructure team to do keep alives
which should help you scale

We recommend that you do one of three things to keep the connections
open:

1. Send response code 204 instead of 200, if you indeed have no
message body to send us.
2. Add a "Content-Length" header with the correct value.
3. Add a "Transfer-Encoding: chunked" header, assuming that the
body is encoded properly.

HTTP/1.1 204 No Content\r\n\r\n

ps - Enter the MySpace Developer Challenge <http://www.myspace.com/
developerchallenge> !

Reply all
Reply to author
Forward
0 new messages