Set proxy for a single request

Open
#818 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api

Research direction

Start by reviewing the client-instantiation path and the per-request entry points mentioned in the issue. Determine how proxy configuration is currently applied and what request-level behavior would need to be specified; done should mean a single request can use a proxy without changing the client's global configuration.

Written by the indexing model from the issue text.

Description

Originally opened by @AneryCoft on 2024-03-16 03:33:39 in encode/httpx

We can only create a global proxy when the client is instantiated.
Whether to add proxy parameters in every client requests?

Dominant language
Python
Stars
1.6k
Forks
103
Avg merge
1d 19h
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pydantic/httpx2

All issues in pydantic/httpx2

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.