Skip to content

Comments

don't encode json response with http.StatusNoContent#436

Merged
peterbourgon merged 1 commit intogo-kit:masterfrom
groob:encode_nocontent
Jan 13, 2017
Merged

don't encode json response with http.StatusNoContent#436
peterbourgon merged 1 commit intogo-kit:masterfrom
groob:encode_nocontent

Conversation

@groob
Copy link
Contributor

@groob groob commented Jan 12, 2017

204 status cannot contain a message body:
https://tools.ietf.org/html/rfc7231#page-53

Closes #435

@peterbourgon
Copy link
Member

🖖

@peterbourgon peterbourgon merged commit b8f878d into go-kit:master Jan 13, 2017
@groob groob deleted the encode_nocontent branch January 13, 2017 14:53
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.

3 participants