Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add jsonHeader to put request #97

Merged
merged 1 commit into from
Nov 8, 2018
Merged

add jsonHeader to put request #97

merged 1 commit into from
Nov 8, 2018

Conversation

7byte
Copy link
Contributor

@7byte 7byte commented Nov 8, 2018

in this file github.com/gogs/gogs/vendor/github.com/go-macaron/binding/binding.go, the function bind ask for conten type in PUT request. So client should contain the jsonHeader。

@unknwon
Copy link
Member

unknwon commented Nov 8, 2018

Thank you!

@unknwon unknwon merged commit 0d04678 into gogs:master Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants