Skip to content

Instantly share code, notes, and snippets.

@michaelhelmick
Created June 19, 2012 02:05
Show Gist options
  • Save michaelhelmick/2951921 to your computer and use it in GitHub Desktop.
Save michaelhelmick/2951921 to your computer and use it in GitHub Desktop.
<<class 'requests.cookies.RequestsCookieJar'>[<Cookie centralauth_Session=*** for .wikipedia.org/>, <Cookie centralauth_Token=*** for .wikipedia.org/>, <Cookie centralauth_User=Michaelhelmick for .wikipedia.org/>, <Cookie enwikiUserID=17018417 for en.wikipedia.org/>, <Cookie enwikiUserName=Michaelhelmick for en.wikipedia.org/>, <Cookie enwiki_session=*** for en.wikipedia.org/>]>
{
'login': {
'lguserid': 17018417,
'cookieprefix': 'enwiki',
'lgtoken': '***',
'sessionid': '***',
'result': 'Success',
'lgusername': 'Michaelhelmick'
}
} {
'content-length': '171',
'x-content-type-options': 'nosniff',
'x-cache': 'MISS from cp1004.eqiad.wmnet, MISS from cp1016.eqiad.wmnet',
'content-encoding': 'gzip',
'set-cookie': 'centralauth_User=Michaelhelmick; expires=Sun, 16-Dec-2012 00:30:53 GMT; path=/; domain=.wikipedia.org; httponly, centralauth_Token=***; expires=Sun, 16-Dec-2012 00:30:53 GMT; path=/; domain=.wikipedia.org; httponly, centralauth_Session=***; path=/; domain=.wikipedia.org; httponly, enwikiUserID=17018417; expires=Sun, 16-Dec-2012 00:30:53 GMT; path=/; httponly, enwikiUserName=Michaelhelmick; expires=Sun, 16-Dec-2012 00:30:53 GMT; path=/; httponly',
'x-cache-lookup': 'MISS from cp1004.eqiad.wmnet:3128, MISS from cp1016.eqiad.wmnet:80',
'vary': 'Accept-Encoding',
'server': 'Apache',
'connection': 'close',
'cache-control': 'private',
'date': 'Tue, 19 Jun 2012 00:30:53 GMT',
'content-type': 'application/json; charset=utf-8'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment