[thelist] Status codes for "not ready yet"

Bill Moseley moseley at hank.org
Mon Jan 31 22:00:50 CST 2011


A client makes an ajax call to fetch some data.  There are a number of
different responses possible.  I want to use HTTP status codes to represent
each response type.

   1. Data available and returned in response.  HTTP status = 200
   2. The data is not ready yet, check back later at this same URL.
   3. The data will never be available (e.g. feature not implemented for
   your account).
   4. The data cannot be returned (e.g. timed out trying to fetch data or
   some other kind of failure).

What HTTP status codes would you suggest for the responses other than the
first?



-- 
Bill Moseley
moseley at hank.org


More information about the thelist mailing list