mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Allow Paths in http proxy #224
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rohan-datar on GitHub (Oct 21, 2024).
Currently, http proxies for only support a
http://<host>:<port>scheme.From the docs:
Trying to proxy pkl packages through something like Artifactory Remote Repositories does not work as they add a path to the proxy url which is not supported and throws a Java exception when it attempts to resolve.
Allowing proxies to have a
http://<host>:<port>/path/to/proxywould be very helpful@HT154 commented on GitHub (Oct 21, 2024):
Pkl's HTTP proxy support is for
CONNECT-based HTTP forward proxies. These work very differently from something like an Artifactory remote repo, which is a read-through caching reverse proxy.Supporting mirroring via such a reverse proxy requires some additional handling and is being discussed in SPICE-0002.
@bioball commented on GitHub (Oct 22, 2024):
Closing this, but feel free to follow or contribute to SPICE-0002 for your use case!