[Developers] Freebase API Error response format

David Flanagan david at davidflanagan.com
Fri Mar 28 22:09:45 UTC 2008


Tim Kientzle wrote:
> The preferred method is to check code.startswith("/api/status/ok").   

Is there really a chance that you will some day return (in the 
sub-response) a code that starts with, but is not equal to 
"/api/status/ok"?  It would be simpler if we could just use == instead 
of startswith!

	David


More information about the Developers mailing list