any replies for the below ?<br><br>
<div><span class="gmail_quote">On 10/19/06, <b class="gmail_sendername">Arun Kumar PG</b> <<a href="mailto:arunkumarpg@gmail.com">arunkumarpg@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Guys,<br><br>I wrote a simple server using sockets ,the traditional whille True: scoket.accept() approach. This server reads some pickled parameters sent by the client using the cPickle module -> do some processing -> and finally writes a list of tuples, objects using cPickle back to the client output stream (
cPickle.dump).<br><br>Now I want to replace this server with an HTTP server. Python's BaseHTTPServer basically. I was wondering when using BaseHTTPServer if I want to read/write a serialized object to meet the above behavior how could I achive this using HTTP server ? We need a content-type to specify before writing back to the client -- whats the content-type for serialised objects which I want to write back to the client using cPickle ?
<br><br>Thanks.<br><span class="sg"><br>Arun<br><br></span></blockquote></div><br>