swift-server / swift-server/async-http-client
[Question] Does AHC's Proxy configuration support PAC file processing by default?
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 1.1k
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
I know that there is the capability to specify an HTTPClient.Configuration.Proxy configuration that accepts a host, port, and authorization set of properties of a single server. But I'm wondering if, given a PAC file URL endpoint, can AHC do all the heavy lifting of fetching the PAC file content, parsing the rules, and sending requests to the proxy by default?
I think the answer is no this is not currently supported based on my quick read over of the code, but figured I'd ask in case I was missing something.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting HTTPClient.Configuration.Proxy and the existing proxy-handling entry points. Confirm whether PAC URL fetching, rule parsing, and proxy selection are present; the issue currently defines no files, tests, or implementation acceptance criteria. Done for this issue would first require a maintainer decision on whether PAC support is desired and what behavior it should provide.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100