I expect 502s from time to time, but I seem to get more 502s from the
report_spam method than from any other.

Spot-checking just now shows "Over Capacity" in the HTML response at a
time when other services are responding normally. I wonder if this
method has less resources devoted to it than others?

I'm seeing no warnings at http://dev.twitter.com/status


Below is an example HTTP exchange from just now:


> POST 
> /1/report_spam.json?id=54064198&oauth_consumer_key=LzBQTRb9wqO9iftKNYsA&oauth_nonce=1290690233.110396&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1290690233&oauth_token=16683251-U0uJA6aoZ8BjqIMSf5duRYSGwN9ob7vkJhbd4VAaY&oauth_version=1.0&oauth_signature=1xHFH6qsrwlz3AOKKQWQBMDO1N0%3D
>  HTTP/1.0
> Host: api.twitter.com
> Connection: Close


< HTTP/1.1 502 Bad Gateway
< Date: Thu, 25 Nov 2010 13:03:53 GMT
< Server: Apache
< Set-Cookie: k=78.86.231.80.1290690239011550; path=/; expires=Thu, 02-
Dec-10 13:03:53 GMT; domain=.twitter.com
< Last-Modified: Thu, 25 Nov 2010 01:27:16 GMT
< Accept-Ranges: bytes
< Content-Length: 4833
< Vary: Accept-Encoding
< Connection: close
< Content-Type: text/html; charset=UTF-8
<
< <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
< <html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
<   <head>
....
<           <h2>Twitter is over capacity.</h2>
.....

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to