Ticket #3513 (closed defect: worksforme)
GPX upload through API fails with content-type and encodings
|Reported by:||rcgroot@…||Owned by:||tom@…|
I'm uploading GPX files to the dev server using Apache httpclient-4.1.jar and am receiving unclear errors and HTTP-500 status.
Executing the same upload with a perl script succeeds. Tracing the procedure with Wireshark shows only a major difference in the added Content-Type and Content-Transfer-Encoding in the Mime entities.
Attached the network traces to api06.dev.openstreetmap.org using Java and Perl.
Thank for lookin into this. Rene
Working on Android Open GPS Tracker, Direct upload to OpenStreetMap http://code.google.com/p/open-gpstracker/issues/detail?id=194 Lines 469-538 http://code.google.com/p/open-gpstracker/source/browse/trunk/OpenGPSTracker/trunk/application/src/nl/sogeti/android/gpstracker/actions/ShareTrack.java?r=816