@@ -0,0 +1,973 @@
+#!/usr/bin/env python%0A%0Afrom BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer%0Aimport urlparse%0Aimport logging%0Afrom xml.dom.minidom import Document%0A%0Alogging.basicConfig(level=logging.DEBUG)%0A%0Aclass MegaAwesomePythonServer(BaseHTTPRequestHandler):%0A%0A    def do_POST(self):%0A        length = int(self.headers.getheader('Content-Length'))%0A        data = urlparse.parse_qs(self.rfile.read(length))%0A%0A        logging.debug(%22from: %22 + data.get(%22from%22)%5B0%5D)%0A        logging.debug(%22to: %22 + data.get(%22to%22)%5B0%5D)%0A%0A        doc = Document()%0A        response = doc.createElement('Response');%0A        reject = doc.createElement('Reject')%0A        reject.setAttribute('reason', 'busy')%0A        response.appendChild(reject);%0A        doc.appendChild(response)%0A%0A        self.send_response(200)%0A        self.send_header('Content-type', 'text/html')%0A        self.end_headers()%0A        self.wfile.write(doc.toxml())%0A%0A%0Aserver = HTTPServer(('', 3000), MegaAwesomePythonServer)%0Aserver.serve_forever()%0A

Add python reject example