Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #10766 > unrolled thread
| Started by | Gelonida N <gelonida@gmail.com> |
|---|---|
| First post | 2011-08-02 23:53 +0200 |
| Last post | 2011-08-02 23:53 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
m2crypto https, xmlrpc, and cookies Gelonida N <gelonida@gmail.com> - 2011-08-02 23:53 +0200
| From | Gelonida N <gelonida@gmail.com> |
|---|---|
| Date | 2011-08-02 23:53 +0200 |
| Subject | m2crypto https, xmlrpc, and cookies |
| Message-ID | <mailman.1805.1312321998.1164.python-list@python.org> |
Hi, Just started playing with m2cryptos xmlrpc The code I'm using is: import xmlrpclib from M2Crypto.m2xmlrpclib import Server, SSL_Transport from M2Crypto.SSL.Context import Context ctx = Context() # modify context svr = Server(rpc_url, SSL_Transport(ctx), encoding='utf-8') svr.mymethod1(1) svr.mynethod2(2) What I wondered is following: When using my web browser certain cookies are sent with the request. Is there any way to change my above code such, that cookies would be collected and sent? Thanks in advance for any pointers.
Back to top | Article view | comp.lang.python
csiph-web