December 30, 2007
@ 11:19 PM

REQUEST:

POST /reader/api/0/subscription/edit HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: www.google.com
Cookie: SID=DQAAAHoAAD4SjpLSFdgpOrhM8Ju-JL2V1q0aZxm0vIUYa-p3QcnA0wXMoT7dDr7c5FMrfHSZtxvDGcDPTQHFxGmRyPlvSvrgNe5xxQJwPlK_ApHWhzcgfOWJoIPu6YuLAFuGaHwgvFsMnJnlkKYtTAuDA1u7aY6ZbL1g65hCNWySxwwu__eQ
Content-Length: 182
Expect: 100-continue

s=http%3a%2f%2fwww.icerocket.com%2fsearch%3ftab%3dblog%26q%3dlink%253A25hoursaday.com%252Fweblog%2b%26rss%3d1&ac=subscribe&T=wAxsLRcBAAA.ucVzEgL9y7YfSo5CU5omw.w1BCzXzXHsyicU9R3qWgQ

RESPONSE:

HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Set-Cookie: GRLD=UNSET;Path=/reader/
Transfer-Encoding: chunked
Cache-control: private
Date: Sun, 30 Dec 2007 23:08:51 GMT
Server: GFE/1.3

<html><head><title>500 Server Error</title>
<style type="text/css">
      body {font-family: arial,sans-serif}
      div.nav {margin-top: 1ex}
      div.nav A {font-size: 10pt; font-family: arial,sans-serif}
      span.nav {font-size: 10pt; font-family: arial,sans-serif; font-weight: bold}
      div.nav A,span.big {font-size: 12pt; color: #0000cc}
      div.nav A {font-size: 10pt; color: black}
      A.l:link {color: #6f6f6f}
      </style></head>
<body text="#000000" bgcolor="#ffffff"><table border="0" cellpadding="2" cellspacing="0" width="100%"></table>
<table><tr><td rowspan="3" width="1%"><b><font face="times" color="#0039b6" size="10">G</font><font face="times" color="#c41200" size="10">o</font><font face="times" color="#f3c518" size="10">o</font><font face="times" color="#0039b6" size="10">g</font><font face="times" color="#30a72f" size="10">l</font><font face="times" color="#c41200" size="10">e</font>&nbsp;&nbsp;</b></td>
<td>&nbsp;</td></tr>
<tr><td bgcolor="#3366cc"><font face="arial,sans-serif" color="#ffffff"><b>Error</b></font></td></tr>
<tr><td>&nbsp;</td></tr></table>
<blockquote><h1>Server Error</h1>
The server encountered a temporary error and could not complete your request.<p></p> Please try again in 30 seconds.

<p></p></blockquote>
<table width="100%" cellpadding="0" cellspacing="0"><tr><td bgcolor="#3366cc"><img alt="" width="1" height="4"></td></tr></table></body></html>


 

Monday, 31 December 2007 00:03:45 (GMT Standard Time, UTC+00:00)
Ha!
Monday, 31 December 2007 00:36:26 (GMT Standard Time, UTC+00:00)
That's one of the reasons why this isn't public/official yet :) But yeah, we should fix that.

Mihai Parparita
Google Reader Engineer
Monday, 31 December 2007 00:56:19 (GMT Standard Time, UTC+00:00)
Mihai,
Which of the things should you fix?

1. That the HTTP Status code doesn't match the actual result of the call?
2. That the result of the call is HTML instead of something that is easier for apps to process?
3. That the error message is misleading since waiting 30 seconds does nothing?
4. All of the above
5. None of the above

:)
Monday, 31 December 2007 01:45:20 (GMT Standard Time, UTC+00:00)
I think for now just 1, since that's the most egregious issue.
Monday, 31 December 2007 05:09:10 (GMT Standard Time, UTC+00:00)
Yes! I like this method: make RESTful webservices correct through peer pressure :)
Dustin Whitney
Monday, 31 December 2007 09:07:05 (GMT Standard Time, UTC+00:00)
Actually, if it's a known to be temporary condition, it should be status 503 + Retry-After response header...
Julian Reschke
Thursday, 03 January 2008 08:08:47 (GMT Standard Time, UTC+00:00)
You should now be seeing a 400 response code for that request (since the "s" is malformed (it's missing the "feed/" prefix), that is the most appropriate response).
Comments are closed.