util:http: convert urllib2.URLError into HTTPError in get_post_url.
authorW. Trevor King <wking@tremily.us>
Fri, 24 Aug 2012 12:07:46 +0000 (08:07 -0400)
committerW. Trevor King <wking@tremily.us>
Fri, 24 Aug 2012 13:32:43 +0000 (09:32 -0400)
commitf0fe11190de73c153d7fb66734434ade4a21dbc2
tree66b1a2ec0caa70ab0cfdd2ba023335938db271da
parent3e8b3e08cd9cbb99b44376a91fcfbef42ee3888e
util:http: convert urllib2.URLError into HTTPError in get_post_url.

Also rework liburl2.HTTPError handling to get both the reason and the
error code into the HTTPError message.
libbe/util/http.py