[OSM-dev] Structured error messages from API

Matthias Julius lists at julius-net.net
Thu Dec 10 17:20:38 GMT 2009

Ian Dees <ian.dees at gmail.com> writes:

> On Thu, Dec 10, 2009 at 10:52 AM, Peter Körner <osm-lists at mazdermind.de>wrote:
>> On a related note, I would be very interested in seeing a progress of some
>>> kind being returned when doing a osmChange upload. I realize that it is
>>> difficult (because it could fail after spitting out lots of seemingly valid
>>> IDs), but if it was documented it would be doable.
>> Are you talking about getting a "completed xx%" message in the result of
>> the open http connection?
> Yes. To implement that, the HTTP server would need to respond with streaming
> XML of some sort over the open HTTP response channel.

But it couln't send Status and Error headers anymore when something
goes wrong because they're sent already at that point.

That would be a very intrusive change.


More information about the dev mailing list