On 16/11/09 07:12, marcus.wolsc...@googlemail.com wrote:
it seems the server returned no content at all.
Is it setting a header or something with more information
about the cause of the error for debugging?
It should set the Error header when returning an error.
Tom
--
Tom Hughes
I found the bug in the new osmosis upload-changeset -task and
was able to get it working and to give it a proper error-handling.
It was merely using the wrong character-encoding while uploading.
Marcus
___
dev mailing list
dev@openstreetmap.org
Can anyone explain to me why I get a response-code 400 for the
following changeset?
(and a 405 for the
http://api.openstreetmap.org/api/0.6/changeset/3124886/close after it)
?xml version='1.0' encoding='UTF-8'?
osmChange version=0.6 generator=Osmosis 0.31.2
modify
relation id=103981
Do you get some other message with the 400 or 405? The server will normally
return a error message to give you a reason to help diagnose the problem.
As per
http://wiki.openstreetmap.org/wiki/API_v0.6#Close:_PUT_.2Fapi.2F0.6.2Fchangeset.2F.23id.2Fclose
you need to be using a PUT request to
Shaun McDonald schrieb:
Do you get some other message with the 400 or 405? The server will
normally return a error message to give you a reason to help
diagnose the problem.
As per
http://wiki.openstreetmap.org/wiki/API_v0.6#Close:_PUT_.2Fapi.2F0.6.2Fchangeset.2F.23id.2Fclose
you
On Mon, 16 Nov 2009 05:57:51 +0100, Marcus Wolschon mar...@wolschon.biz
wrote:
Shaun McDonald schrieb:
Do you get some other message with the 400 or 405? The server will
normally return a error message to give you a reason to help
diagnose the problem.
As per
6 matches
Mail list logo