You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
After making PUT request, response status code is 204 (no content), which is valid response, but go-redmine treats it as error and tries decode content body which is empty string.
Here it is:
Hi!
After making PUT request, response status code is 204 (no content), which is valid response, but go-redmine treats it as error and tries decode content body which is empty string.
Here it is:
go-redmine/issue.go
Line 225 in b2dd060
In Redmine docs there are some pages that describes 204 code as confirmation that requested change was made:
https://www.redmine.org/projects/redmine/wiki/Rest_IssueCategories#PUT
https://www.redmine.org/projects/redmine/wiki/Rest_Memberships#PUT
https://www.redmine.org/projects/redmine/wiki/Rest_TimeEntries#Updating-a-time-entry
etc.
The text was updated successfully, but these errors were encountered: