mirror of
https://github.com/Corsinvest/cv4pve-api-php.git
synced 2026-04-25 04:25:48 +03:00
[PR #37] [MERGED] Add responseHeaders field to Result class #38
Labels
No labels
enhancement
needs investigation
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-api-php#38
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/Corsinvest/cv4pve-api-php/pull/37
Author: @sydive
Created: 7/29/2024
Status: ✅ Merged
Merged: 7/29/2024
Merged by: @franklupo
Base:
master← Head:response-headers📝 Commits (1)
efe59d9Add responseHeaders field to Result class📊 Changes
3 files changed (+21 additions, -2 deletions)
View changed files
📝
README.md(+1 -0)📝
src/PveClientBase.php(+3 -1)📝
src/Result.php(+17 -1)📄 Description
This change adds a
responseHeadersfield to theResultclass, which contains the raw HTTP headers for a response. The main motivation here is that PVE API can sometimes put error messages in the headers, instead of in the JSON response body.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.