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
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
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
"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
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
"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
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