I'm going to post this if it kills me (this was my first response in
this thread, my normal newsfeed has gone bad so can't post
reliably...)
Alessandro Fachin <[EMAIL PROTECTED]> writes:
> Hi, i am trying to forge a new cookie by own with cookielib. But i don't
> still have success. This a simply
John J. Lee wrote:
> Fine, but see my other post -- I think you misunderstand how cookies
> work.
Maybe you misunderstand me... While i wrote "cookie are simply http
header :)" i want to said that i've look at wrong thing, cookielib are not
needed... Anyway thank you for help, regards.
--
http:
Alessandro Fachin <[EMAIL PROTECTED]> writes:
> Matthew Franz wrote:
>
> > I'm not sure what you mean be forge, but if you mean set an arbitrary
> > cookie manually (vs. one that was provided by the server). just use
> > add_header() in http://docs.python.org/lib/request-objects.html
>
> Yes is
"Matthew Franz" <[EMAIL PROTECTED]> writes:
> I'm not sure what you mean be forge, but if you mean set an arbitrary
> cookie manually (vs. one that was provided by the server). just use
> add_header() in http://docs.python.org/lib/request-objects.html
>
> It may be possible to use CookieJar for
Matthew Franz wrote:
> I'm not sure what you mean be forge, but if you mean set an arbitrary
> cookie manually (vs. one that was provided by the server). just use
> add_header() in http://docs.python.org/lib/request-objects.html
Yes is exactly what i want to do... i don't known because i looked
I'm not sure what you mean be forge, but if you mean set an arbitrary
cookie manually (vs. one that was provided by the server). just use
add_header() in http://docs.python.org/lib/request-objects.html
It may be possible to use CookieJar for this purpose but I've only
used it for manipulating coo
Hi, i am trying to forge a new cookie by own with cookielib. But i don't
still have success. This a simply code:
import cookielib, urllib, urllib2
login = 'Ia am a cookie!'
cookiejar = cookielib.CookieJar()
urlOpener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookiejar))
values = {'user':l