httpx
httpx copied to clipboard
The random agent selection do not work as expected
httpx version: 1.2.9
Current Behavior: Any request from httpx is made using the following agent ""Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59""
Expected Behavior: Only one of those agent should have been chosen, randomly
Steps To Reproduce:
- run in terminal httpx -u 127.0.0.1
- tail /var/log/apache2/access.log
- The last row if the file should be the httpx request, and in the agent field you see all of the browsers instead of only one