Message106438
urlsplit and urlparse place the host into the path when using a default scheme:
(Pdb) urlsplit('regionalhelpwanted.com/browseads/?sn=2',scheme='http')
SplitResult(scheme='http', netloc='', path='regionalhelpwanted.com/browseads/', query='sn=2', fragment='')
When using default_scheme as referenced in the documentation, it simply doesn't work:
(Pdb) urlsplit('regionalhelpwanted.com/browseads/?sn=2',default_scheme='http')
*** TypeError: urlsplit() got an unexpected keyword argument 'default_scheme' |
|
Date |
User |
Action |
Args |
2010-05-25 14:40:20 | adamnelson | set | recipients:
+ adamnelson |
2010-05-25 14:40:19 | adamnelson | set | messageid: <1274798419.99.0.107317054505.issue8818@psf.upfronthosting.co.za> |
2010-05-25 14:39:57 | adamnelson | link | issue8818 messages |
2010-05-25 14:39:57 | adamnelson | create | |
|