Ticket #3072: josm-works.txt

File josm-works.txt, 3.1 KB (added by avarab@…, 17 years ago)

This is JOSM talking to the same server with the correct password - it works

Line 
1127.000.000.001.41375-127.000.000.001.03000: PUT /api/0.6/changeset/create HTTP/1.1
2Authorization: Basic CORRECT-SEEKRT
3Content-type: text/xml
4User-Agent: JOSM/1.5 (1826 SVN en) Java/1.6.0_14
5Host: localhost:3000
6Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
7Connection: keep-alive
8Content-Length: 225
9
10
11127.000.000.001.41375-127.000.000.001.03000: <?xml version='1.0' encoding='UTF-8'?>
12<osm version='0.6' generator='JOSM'>
13 <changeset visible='true'>
14
15 <tag k='created_by' v='JOSM/1.5 (1826 SVN is)' />
16 <tag k='comment' v='This will work' />
17 </changeset>
18</osm>
19
20127.000.000.001.03000-127.000.000.001.41375: HTTP/1.1 200 OK
21Etag: "1f0e3dad99908345f7439f8ffabdffc4"
22Connection: Keep-Alive
23Content-Type: text/plain; charset=utf-8
24Date: Fri, 24 Jul 2009 19:19:57 GMT
25Server: WEBrick/1.3.1 (Ruby/1.8.7/2008-08-11)
26X-Runtime: 92
27Content-Length: 2
28Cache-Control: private, max-age=0, must-revalidate
29
30
31127.000.000.001.03000-127.000.000.001.41375: 19
32127.000.000.001.41377-127.000.000.001.03000: POST /api/0.6/changeset/19/upload HTTP/1.1
33Authorization: Basic CORRECT-SEEKRT
34Content-type: text/xml
35User-Agent: JOSM/1.5 (1826 SVN en) Java/1.6.0_14
36Host: localhost:3000
37Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
38Connection: keep-alive
39Content-Length: 553
40
41
42127.000.000.001.41377-127.000.000.001.03000: <osmChange version="0.6" generator="JOSM">
43<create version="0.6" generator="JOSM">
44 <node id='-1' action='modify' visible='true' changeset='19' lat='0.05868743376480931' lon='0.06085146741025406' />
45</create>
46<modify version="0.6" generator="JOSM">
47 <way id='10' action='modify' visible='true' version='4' changeset='19'>
48 <nd ref='24' />
49 <nd ref='27' />
50 <nd ref='29' />
51 <nd ref='30' />
52 <nd ref='-1' />
53 <nd ref='28' />
54 <nd ref='25' />
55 <nd ref='26' />
56 <tag k='highway' v='motorway' />
57 </way>
58</modify>
59</osmChange>
60
61127.000.000.001.03000-127.000.000.001.41377: HTTP/1.1 200 OK
62Etag: "d420c12bf4822c1db5517ce2da0f490a"
63Connection: Keep-Alive
64Content-Type: text/xml; charset=utf-8
65Date: Fri, 24 Jul 2009 19:19:58 GMT
66Server: WEBrick/1.3.1 (Ruby/1.8.7/2008-08-11)
67X-Runtime: 340
68Content-Length: 212
69Cache-Control: private, max-age=0, must-revalidate
70
71
72127.000.000.001.03000-127.000.000.001.41377: <?xml version="1.0" encoding="UTF-8"?>
73<diffResult version="0.6" generator="OpenStreetMap server">
74 <node old_id="-1" new_id="31" new_version="1"/>
75 <way old_id="10" new_id="10" new_version="5"/>
76</diffResult>
77
78127.000.000.001.41379-127.000.000.001.03000: PUT /api/0.6/changeset/19/close HTTP/1.1
79Authorization: Basic CORRECT-SEEKRT
80Content-type: text/xml
81User-Agent: JOSM/1.5 (1826 SVN en) Java/1.6.0_14
82Host: localhost:3000
83Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
84Connection: keep-alive
85Content-Length: 0
86
87
88127.000.000.001.03000-127.000.000.001.41379: HTTP/1.1 200 OK
89Connection: Keep-Alive
90Content-Type: text/html; charset=utf-8
91Date: Fri, 24 Jul 2009 19:19:58 GMT
92Server: WEBrick/1.3.1 (Ruby/1.8.7/2008-08-11)
93X-Runtime: 128
94Content-Length: 1
95Cache-Control: private, max-age=0, must-revalidate
96
97
98127.000.000.001.03000-127.000.000.001.41379: