Re: xmlrpc, extract data from http headers

2006-09-19 Thread Milos Prudek
A better solution would be to extract cookies from headers in the request method and return them with response (see the code below). I Full solution! Wow! Thank you very much. I certainly do not deserve such kindness. Thanks a lot Filip! -- Milos Prudek --

Re: xmlrpc, extract data from http headers

2006-09-19 Thread Filip Wasilewski
Milos Prudek wrote: A better solution would be to extract cookies from headers in the request method and return them with response (see the code below). I Full solution! Wow! Thank you very much. I certainly do not deserve such kindness. Thanks a lot Filip! Glad to help. All in all this is

Re: xmlrpc, extract data from http headers

2006-09-16 Thread Milos Prudek
Overload the _parse_response method of Transport in your BasicAuthTransport and extract headers from raw response. See the source of xmlrpclib.py in the standard library for details. Thank you. I am a bit of a false beginner in Python. I have written only short scripts. I want to read Dive

Re: xmlrpc, extract data from http headers

2006-09-16 Thread Filip Wasilewski
Milos Prudek wrote: Overload the _parse_response method of Transport in your BasicAuthTransport and extract headers from raw response. See the source of xmlrpclib.py in the standard library for details. Thank you. I am a bit of a false beginner in Python. I have written only short

xmlrpc, extract data from http headers

2006-09-15 Thread Milos Prudek
I perform a XML-RPC call by calling xmlrpclibBasicAuth which in turn calls xmlrpclib. This call of course sends a HTTP request with correct HTTP headers. The response is correctly parsed by xmlrpclib, and I get my desired values. However, I also need to get the raw HTTP headers from the HTTP

Re: xmlrpc, extract data from http headers

2006-09-15 Thread Filip Wasilewski
Milos Prudek wrote: I perform a XML-RPC call by calling xmlrpclibBasicAuth which in turn calls xmlrpclib. This call of course sends a HTTP request with correct HTTP headers. The response is correctly parsed by xmlrpclib, and I get my desired values. However, I also need to get the raw HTTP