mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-24 22:56:01 +03:00
[PR #68] [MERGED] Support uploading large files #158
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#158
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
📋 Pull Request Information
Original PR: https://github.com/proxmoxer/proxmoxer/pull/68
Author: @jhollowe
Created: 10/2/2021
Status: ✅ Merged
Merged: 10/7/2021
Merged by: @jhollowe
Base:
develop← Head:issue-67_large-file-upload📝 Commits (6)
eb74f65Add switchover to requests_toolbelt for large filed5213dbAdd patch for requests_tollbelt filename issue1bb31a2Simplify large file handling1bba90fFix compatibilty issues with older python versions39d6d04Fix problem with non-JSON responses with errorsae63705Add multi-file safety and backup upload attempt📊 Changes
2 files changed (+51 additions, -5 deletions)
View changed files
📝
proxmoxer/backends/https.py(+50 -4)📝
proxmoxer/core.py(+1 -1)📄 Description
This PR allows a switchover to the streaming multipart payload provided by
requests_toolbelt(if installed) for files larger than supported byrequestson its own.depends-on https://github.com/requests/toolbelt/pull/316 for full functionality with Proxmox
resolves #67
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.