Re: [OSM-dev] response-code 400 to changeset

2009-11-16 Thread Tom Hughes
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

Re: [OSM-dev] response-code 400 to changeset

2009-11-16 Thread Marcus Wolschon
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

[OSM-dev] response-code 400 to changeset

2009-11-15 Thread Marcus Wolschon
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

Re: [OSM-dev] response-code 400 to changeset

2009-11-15 Thread Shaun McDonald
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

Re: [OSM-dev] response-code 400 to changeset

2009-11-15 Thread Marcus Wolschon
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

Re: [OSM-dev] response-code 400 to changeset

2009-11-15 Thread marcus.wolschon
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