Add missing JSON header to AddCollaborator() #306
No reviewers
Labels
No Label
has/backport
has/pull
in progress
invalid
kind/breaking
kind/bug
kind/build
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
need/backport
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/go-sdk#306
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch ":seelensonne-patch-1"
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?
A simple patch to add the missing
content-type: application/json
header for requests toPUT /repos/{owner}/{repo}/collaborators/{collaborator}
Without the content-type header, Gitea responds with
415 Unsupported Media Type
.@seelensonne pleace send backport
@6543 I created !307 against
release/v0.11
. -- Is that what you meant? (Sorry, not very familiar with Gitea yet).Add missing JSON header to `Client.AddCollaborator`to Add missing JSON header to AddCollaborator()