Add missing JSON header to AddCollaborator() #306

Merged
techknowlogick merged 1 commits from :seelensonne-patch-1 into master 2020-04-07 14:26:11 +00:00
Contributor

A simple patch to add the missing content-type: application/json header for requests to

  • PUT /repos/{owner}/{repo}/collaborators/{collaborator}

Without the content-type header, Gitea responds with 415 Unsupported Media Type.

A simple patch to add the missing `content-type: application/json` header for requests to - `PUT /repos/{owner}/{repo}/collaborators/{collaborator}` Without the content-type header, Gitea responds with `415 Unsupported Media Type`.
6543 approved these changes 2020-04-07 11:54:38 +00:00
Dismissed
6543 added the
kind/build
need/backport
labels 2020-04-07 11:54:56 +00:00
6543 added this to the v0.12.0 milestone 2020-04-07 11:54:59 +00:00
6543 modified the milestone from v0.12.0 to v0.11.3 2020-04-07 11:55:52 +00:00
techknowlogick approved these changes 2020-04-07 14:25:53 +00:00
Dismissed
techknowlogick closed this pull request 2020-04-07 14:26:11 +00:00
Owner

@seelensonne pleace send backport

@seelensonne pleace send backport
seelensonne deleted branch seelensonne-patch-1 2020-04-07 15:14:05 +00:00
Author
Contributor

@6543 I created !307 against release/v0.11. -- Is that what you meant? (Sorry, not very familiar with Gitea yet).

@6543 I created !307 against `release/v0.11`. -- Is that what you meant? (Sorry, not very familiar with Gitea yet).
6543 modified the milestone from v0.11.3 to v0.12.0 2020-04-07 15:31:07 +00:00
6543 added
has/backport
and removed
need/backport
labels 2020-04-07 15:31:39 +00:00
seelensonne changed title from Add missing JSON header to `Client.AddCollaborator` to Add missing JSON header to AddCollaborator() 2020-04-08 01:28:41 +00:00
6543 added
kind/bug
and removed
kind/build
labels 2020-04-27 18:04:45 +00:00
Sign in to join this conversation.
No description provided.