[PR #206] [MERGED] Add possibility to use proxy with https backend #210

Closed
opened 2026-02-27 15:46:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/proxmoxer/proxmoxer/pull/206
Author: @sniffer32
Created: 4/8/2025
Status: Merged
Merged: 12/20/2025
Merged by: @jhollowe

Base: developHead: develop


📝 Commits (6)

  • 2c2eca1 add proxies arg to https Backend
  • 0a851bd add test for proxy arg in https Backend
  • 516666b Revert reformating
  • 95ca5e6 Add proxies
  • 1c5cbd4 Merge remote-tracking branch 'origin/develop' into pr/sniffer32/206
  • 3228c28 Fix broken test

📊 Changes

2 files changed (+17 additions, -1 deletions)

View changed files

📝 proxmoxer/backends/https.py (+9 -1)
📝 tests/test_https.py (+8 -0)

📄 Description

Usage:

        socks_proxy = "socks5h://127.0.0.1:9000"
        proxies = {
            "http": socks_proxy,
            "https": socks_proxy,
        }
        proxmox = proxmoxer.ProxmoxAPI(
            host="proxmox.net",
            user=username",
            password=password,
            port=443,
            verify_ssl=False,
            timeout=5,
            proxies=proxies,
        )

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/proxmoxer/proxmoxer/pull/206 **Author:** [@sniffer32](https://github.com/sniffer32) **Created:** 4/8/2025 **Status:** ✅ Merged **Merged:** 12/20/2025 **Merged by:** [@jhollowe](https://github.com/jhollowe) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (6) - [`2c2eca1`](https://github.com/proxmoxer/proxmoxer/commit/2c2eca16b41f4dd1efead2c43b9a16f3210f144f) add proxies arg to https Backend - [`0a851bd`](https://github.com/proxmoxer/proxmoxer/commit/0a851bd870ef87de72cd0567f8ff37dd224dee5f) add test for proxy arg in https Backend - [`516666b`](https://github.com/proxmoxer/proxmoxer/commit/516666b57ee07cf8bf5d430cec1359dc00a032ed) Revert reformating - [`95ca5e6`](https://github.com/proxmoxer/proxmoxer/commit/95ca5e64a4cbf9b30066c0ddc156f29a711bf1b0) Add proxies - [`1c5cbd4`](https://github.com/proxmoxer/proxmoxer/commit/1c5cbd4ea6bf1c1f15e2350b715241d08b3e49c0) Merge remote-tracking branch 'origin/develop' into pr/sniffer32/206 - [`3228c28`](https://github.com/proxmoxer/proxmoxer/commit/3228c283cfcc9df5b94a11ba3b236e337270f7a4) Fix broken test ### 📊 Changes **2 files changed** (+17 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `proxmoxer/backends/https.py` (+9 -1) 📝 `tests/test_https.py` (+8 -0) </details> ### 📄 Description Usage: ``` socks_proxy = "socks5h://127.0.0.1:9000" proxies = { "http": socks_proxy, "https": socks_proxy, } proxmox = proxmoxer.ProxmoxAPI( host="proxmox.net", user=username", password=password, port=443, verify_ssl=False, timeout=5, proxies=proxies, ) ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:46:54 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmoxer#210
No description provided.