Ian Kelly wrote:
On Tue, Nov 2, 2010 at 4:50 PM, evilmrhenry <mailto:evilmrhe...@emhsoft.com>> wrote:
Python 2.6.4 on Ubuntu. I'm not sure if this is a bug or if I'm just
doing this wrong...
I'm trying to include two cookies when I use urllib2 to view
Python 2.6.4 on Ubuntu. I'm not sure if this is a bug or if I'm just
doing this wrong...
I'm trying to include two cookies when I use urllib2 to view a page.
#Code Start
import urllib2
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor())
opener.addheaders.append(("Cookie", "user=abcd"))