pydantic / pydantic/httpx2

Set proxy for a single request

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

Nobody has claimed this yet.

Dominant language
Python
Stars
1.5k
Forks
78
Avg merge
8h 59m
Merged PRs (30d)
24

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?

Contributor guide

Open the contributing guide

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.