December 30, 2007
@ 11:19 PM


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


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}
<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>
<tr><td bgcolor="#3366cc"><font face="arial,sans-serif" color="#ffffff"><b>Error</b></font></td></tr>
<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.

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


Monday, December 31, 2007 12:03:45 AM (GMT Standard Time, UTC+00:00)
Monday, December 31, 2007 12:36:26 AM (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, December 31, 2007 12:56:19 AM (GMT Standard Time, UTC+00:00)
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, December 31, 2007 1:45:20 AM (GMT Standard Time, UTC+00:00)
I think for now just 1, since that's the most egregious issue.
Monday, December 31, 2007 5:09:10 AM (GMT Standard Time, UTC+00:00)
Yes! I like this method: make RESTful webservices correct through peer pressure :)
Dustin Whitney
Monday, December 31, 2007 9:07:05 AM (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, January 3, 2008 8:08:47 AM (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.