XML-RPC + SimpleHTTPServer question
Fredrik Lundh
fredrik at pythonware.com
Wed Jul 5 14:30:36 EDT 2006
jbrewer wrote:
> I'm currently implementing an XML-RPC service in Python where binary
> data is sent to the server via URLs. However, some clients that need
> to access the server may not have access to a web server, and I need to
> find a solution. I came up with the idea of embedding a simple HTTP
> server in the XML-RPC clients so that files can be sent in the
> following way:
>
> 1. Start an HTTP server on the client using e.g SImpleHTTPServer on a
> user allowed port
> 2. Call XML-RPC server with the URL to the file on the client to
> upload
> 3. Get XML-RPC server response, then shut down HTTP server on client
>
> Does this sound reasonable?
why not just use an ordinary HTTP POST request ?
</F>
More information about the Python-list
mailing list