add headers property to HTTPError