mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #202] [MERGED] feat: add http headers #307
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#307
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/Telmate/proxmox-api-go/pull/202
Author: @BenediktBertsch
Created: 10/4/2022
Status: ✅ Merged
Merged: 10/6/2022
Merged by: @mleone87
Base:
master← Head:add-httpheaders📝 Commits (10+)
121d96badd HTTP_HEADERS functiondf3fcd2fix: headers are now case sensitive707644bfix: utilizing custom http headers6e6ceaaMerge pull request #1 from forthal/add-httpheaders6f7ddbdMerge branch 'Telmate:master' into add-httpheaders372fd16fix: wrong assignment for http_headersd39979fchange HTTP_HEADERS to PM_HTTP_HEADERSebb8110correct new env in README0eff221changed HTTP_HEADERS env to PM_HTTP_HEADERS05baa39fix: no header set skip setting headers📊 Changes
10 files changed (+57 additions, -32 deletions)
View changed files
📝
README.md(+1 -0)📝
cli/cobra.go(+8 -5)📝
go.sum(+0 -8)📝
main.go(+1 -1)📝
proxmox/client.go(+10 -5)📝
proxmox/client_test.go(+1 -1)📝
proxmox/session.go(+6 -6)📝
proxmox/util.go(+16 -0)📝
proxmox/validate.go(+7 -0)📝
test/cli/shared_tests.go(+7 -6)📄 Description
Add support for http headers, fixes feature request #196.
Credits to @forthal for helping me out.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.