[OSM-dev] api06 change: report_error

Christopher Schmidt crschmidt at metacarta.com
Mon May 12 11:58:05 BST 2008


On Mon, May 12, 2008 at 11:26:41AM +0200, Sebastian Spaeth wrote:
> Christopher Schmidt wrote:
> > In addition to reporting the error through the header, I'd like to
> > suggest hat starting with the 0.6 API, we also report the text through
> > the data of the error, so that it shows up in things like curl/browsers. 
> 
> > Feedback on any clients that this might break is welcome.
> 
> I like the change. The HTTP header is no 200 OK in any case, right?
> Clients can still easily find out that something went wrong.

Correct; The header is '400 Bad Request'

Regards,
-- 
Christopher Schmidt
MetaCarta




More information about the dev mailing list