Skip to content
Discussion options

You must be logged in to vote

Hiya Simon,

So we do provide that functionality, but not with the top-level API.

Instead you'd need to do this...

client = httpx.Client()
del client.headers["user-agent"]
client.get(...)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@aaronst
Comment options

Answer selected by lovelydinosaur
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants