Re: [Httplib2-discuss] httplib2 and cookies
Status: Beta
Brought to you by:
jcgregorio
From: Joe G. <jo...@bi...> - 2006-12-07 21:25:40
|
On 11/26/06, Igor Foox <igo...@gm...> wrote: > Hi Joe, > > I was looking to use httplib2 for it's easy integration with the > Google authentication system. However I need to be able to handle > cookies as well, is there a simple way to make httplib2 handle cookis? Not right now. I've added it as a feature request: http://sourceforge.net/tracker/index.php?func=detail&aid=1611116&group_id=161082&atid=818437 > Another problem I hit is that when I send a request that hits a > continual redirect there is no way for me to extract the server's > response after the httplib2.RedirectLimit has been thrown. Am I > missing some apparent way I can access it? There is already an open bug that addresses this: http://sourceforge.net/tracker/index.php?func=detail&aid=1597381&group_id=161082&atid=818434 That is, instead of throwing exceptions a response code will be assigned to the exceptional condition. That will allow you to pull the final request location from the returned response dictionary. So, neither of those things work right now, but they are on the list of things to do. Thanks, -joe -- Joe Gregorio http://bitworking.org |