Re: Cookielib in Jython

2008-10-06 Thread Felipe De Bene
On Oct 6, 10:36 am, [EMAIL PROTECTED] wrote: > On 6 Ott, 13:19, Felipe De Bene <[EMAIL PROTECTED]> wrote: > > > > > Hi There, > > I'm trying to run an App I wrote in Python 2.5.2 in Jython 2.2.1 and > > everything works fine except when I try to import the Standard > > CPython's cookielib. I know t

Re: Cookielib in Jython

2008-10-06 Thread bieffe62
On 6 Ott, 13:19, Felipe De Bene <[EMAIL PROTECTED]> wrote: > Hi There, > I'm trying to run an App I wrote in Python 2.5.2 in Jython 2.2.1 and > everything works fine except when I try to import the Standard > CPython's cookielib. I know this may sound stupid, I could use an > advice here on what's

Re: cookielib

2007-08-11 Thread John J. Lee
Boris Ozegovic <[EMAIL PROTECTED]> writes: > Hi > > I have HTTP client which accepts cookies. If client allready has cookie, > but that cookie has expired, server sends him new cookie, and in response > object Set-Cookie: header everything is fine, but if I reload request, > client sends expired

Re: cookielib incorrectly escapes cookie

2006-07-09 Thread John J. Lee
"BJörn Lindqvist" <[EMAIL PROTECTED]> writes: > I have some very serious trouble getting cookes to work. After a lot > of work (urllib2 is severly underdocumented, arcane and overengineerd > btw) I'm finally able to accept cookes from a server. But I'm still And a good day to you too ;-) In pass

Re: cookielib

2006-02-22 Thread Rene Pijlman
sri2097: >urllib2 does not support cookies. It does in 2.4. This code enables cookie support in all consequent calls through urrlib2: import cookielib, urllib2 opener = urllib2.build_opener(urllib2.HTTPCookieProcessor()) urllib2.install_opener(opener) -- René Pijlman -- http://mai

Re: cookielib

2006-02-22 Thread Paul Rubin
"sri2097" <[EMAIL PROTECTED]> writes: > Hi, I need to get to a particular page in a website. The site uses > cookeis and naturally I had to use cookielib since urllib2 does not > support cookies. It's poorly documented but urllib2 does support cookies now. http://docs.python.org/lib/http-cookie-p

Re: cookielib and urllib2: thread-safe?

2005-01-29 Thread John J. Lee
Alex Hunsley <[EMAIL PROTECTED]> writes: > I'm writing a test script in python for pulling web pages from a web > server using urllib2 and cookielib. Since the main thing I am testing > is what happens when concurrent requests are made to the web server, I > need to make several requests concurren