- use HTTPError.hdrs instead of HTTPError.headers

There are situations where a HTTPError instance has no headers
attribute.