HH-43534 add deprecation warning for HTTPError kwargs