'XMLRPC service for windmill browser core to communicate with'

def handler(self, environ, start_response):

    if (environ['REQUEST_METHOD'] == 'POST'):
        return self.handle_POST(environ, start_response)
    else:
        start_response('400    Bad    request', [('Content-Type', 'text/plain')])
        return ['']
