Ignore me. I think you are on the right path trying to install your own transport...
On Tue, Mar 17, 2009 at 8:43 PM, Mohamed Lrhazi lrhazi@gmail.com wrote:
I am guessing here.... you are attempting to configure the http client to automatically manage cookies for you... if all you need is send a cookie and if you already know its value, whats wrong with just setting it like I suggested as a simple additional header? are you over complicating it, or am completely mis understanding the issue?
Mohamed.
2009/3/17 David Bunch david.e.bunch@gmail.com:
Is this not the correct way set a cookie in suds?
# Create session cookie. oizysSessionCookie = cookielib.Cookie(version=None, name="ASP.NET_SessionId",
value=self.loginCredentials.session_id, port="8082", port_specified=False, domain="127.0.0.1", domain_specified=True, domain_initial_dot=False, path="ISTSessionId", path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest=None) # Add cookie to clients commandClient = Client(commandUrl)
commandClient.options.transport.cookiejar.set_cookie(oizysSessionCookie) monitorClient = Client(monitorUrl)
monitorClient.options.transport.cookiejar.set_cookie(oizysSessionCookie)
fedora-suds-list mailing list fedora-suds-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-suds-list
-- " Logic merely sanctions the conquests of the intuition." Jacques Hadamard