[OSM-dev] parent ways of a node - 400 error

Tom Hughes tom at compton.nu
Sat Nov 24 21:39:20 GMT 2007


In message <47488FC4.8010207 at jonno.cix.co.uk>
          Jonathan Bennett <openstreetmap at jonno.cix.co.uk> wrote:

> Tom Hughes wrote:
>
> > I've now changed it to return 200 and an empty document rather than
> > 400/404 in these cases.
>
> What about a 204 -- No Content. That seems the most appropriate response.

It doesn have content - an <osm> element.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list