Example XML RPC packets used with the opendht (indented for easier reading). Packets are divided into to output and input packets. Output packets are put and get packets. Input packets are key was not found, status code, value, and fault code ============== Output packets ============== ------------ (put packet) ------------ POST /RPC2 HTTP/1.0 User-Agent: hipl Host: 127.0.0.1:5851 Content-Type: text/xml Content-length: 354 put a3Vra2FuZW5rb3Nlb24= MjAwMTowMDcxOjdjOTc6YTViNDo2YzczOjFiMWI6MDgxZToxMjZk 120 HIPL ------------ (get packet) ------------ POST /RPC2 HTTP/1.0 User-Agent: hipl Host: 127.0.0.1:5851 Content-Type: text/xml Content-length: 302 get a3Vra2FuZW5rb3Nlb24=a 10 HIPL ============= Input packets ============= -------------------------------- (no corresponding data to a key) -------------------------------- HTTP/1.0 200 OK Date: Wed, 19 Nov 2003 01:49:00 GMT Server: bamboo Connection: close Content-Type: text/xml Content-Length: 226 ---------------------- (status code received) ---------------------- HTTP/1.0 200 OK Date: Wed, 19 Nov 2003 01:49:00 GMT Server: bamboo Connection: close Content-Type: text/xml Content-Length: 135 0 ---------------- (value received) ---------------- HTTP/1.0 200 OK Date: Wed, 19 Nov 2003 01:49:00 GMT Server: bamboo Connection: close Content-Type: text/xml Content-Length: 311 MjAwMTowMDcxOjdjOTc6YTViNDo2YzczOjFiMWI6MDgxZToxMjZk --------------------------------- (Error received from the openDHT) --------------------------------- HTTP/1.0 200 OK Date: Wed, 19 Nov 2003 01:49:00 GMT Server: bamboo Connection: close Content-Type: text/xml Content-Length: 293 faultString java.lang.Exception: key is longer than 20 bytes faultCode 0