Raising HTTPErrors if they occur during requests