.host Property Occasionally Missing From Version 1.6.2 Onwards 2 #1815
Labels
Status: Completed
Nothing further to be done with this issue. Awaiting to be closed.
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
httpx version:
Working: v1.6.1
Broken: v1.6.2
Current Behavior:
The
.host
property is occasionally missing from the JSON output. The issue is the same problem described in #1753, but the underlying cause may be different. Although I'm not aware of all the causes where the issue arises, it can be commonly recreated by specify hosts with a port.Expected Behavior:
The
.host
property should always be returned to identify the IP address queried.Steps To Reproduce:
But if you specify the same domain twice, removing the port from one:
And mixed:
Here's a unfiltered output:
The text was updated successfully, but these errors were encountered: