Bill <bsag...@gmail.com> wrote:

> The delicious api requires http authorization (actually https). A
> generic delicious api post url is "https://
> username:passw...@api.api.del.icio.us/v1/posts/add?url=http://
> example.com/&description=interesting&tags=whatever".
> 

The simplest way is probably to manually add the authentication 
header, as shown here:

http://code.activestate.com/recipes/267197/#c2

This article discusses the above strategy, and a strategy using 
HTTPBasicAuthHandler with a password manager default realm (I think 
getting the realm correct is what has stymied me in my attempts to use 
handlers, rather than injecting the header):

http://www.voidspace.org.uk/python/articles/authentication.shtml 


Max

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to