Re: [Httplib2-discuss] bad errors when passing in bad URL
Status: Beta
Brought to you by:
jcgregorio
From: Joe G. <jo...@bi...> - 2007-01-23 15:29:39
|
Ah, ok, after I parse up the incoming URI I should check for a valid scheme and authority and throw an exception before I try to use those - possibly 'None' - values. Thanks, -joe On 1/23/07, Ian Bicking <ia...@co...> wrote: > Joe Gregorio wrote: > > Yup, that's a known bug :) > > http://sourceforge.net/tracker/index.php?func=detail&aid=1529838&group_id=161082&atid=818434 > > My bug is actually different -- httplib2.request('/') is invalid > (probably should be a ValueError, I guess). It fails long before > anything HTTP is opened -- it happens around the time you parse '/' as a > URI. > > -- > Ian Bicking | ia...@co... | http://blog.ianbicking.org > -- Joe Gregorio http://bitworking.org |