{"action":"created","issue":{"url":"https://api.github.com/repos/ietf-wg-acme/acme/issues/216","repository_url":"https://api.github.com/repos/ietf-wg-acme/acme","labels_url":"https://api.github.com/repos/ietf-wg-acme/acme/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/ietf-wg-acme/acme/issues/216/comments","events_url":"https://api.github.com/repos/ietf-wg-acme/acme/issues/216/events","html_url":"https://github.com/ietf-wg-acme/acme/issues/216","id":191856665,"number":216,"title":"new-nonce endpoint should return 204 No Content","user":{"login":"ashb","id":34150,"avatar_url":"https://avatars.githubusercontent.com/u/34150?v=3","gravatar_id":"","url":"https://api.github.com/users/ashb","html_url":"https://github.com/ashb","followers_url":"https://api.github.com/users/ashb/followers","following_url":"https://api.github.com/users/ashb/following{/other_user}","gists_url":"https://api.github.com/users/ashb/gists{/gist_id}","starred_url":"https://api.github.com/users/ashb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashb/subscriptions","organizations_url":"https://api.github.com/users/ashb/orgs","repos_url":"https://api.github.com/users/ashb/repos","events_url":"https://api.github.com/users/ashb/events{/privacy}","received_events_url":"https://api.github.com/users/ashb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-27T11:38:15Z","updated_at":"2016-11-28T14:53:33Z","closed_at":null,"body":"The new-nonce endpoint added in #181 defines a new endpoint which returns information just in headers, but with a 200 response code.\r\n\r\nI feel this would be more appropriate as a 204 No Content response code.\r\n\r\nI'm not sure what the approach to making this sort of change is. Should I create this change as a PR?"},"comment":{"url":"https://api.github.com/repos/ietf-wg-acme/acme/issues/comments/263290879","html_url":"https://github.com/ietf-wg-acme/acme/issues/216#issuecomment-263290879","issue_url":"https://api.github.com/repos/ietf-wg-acme/acme/issues/216","id":263290879,"user":{"login":"cpu","id":292650,"avatar_url":"https://avatars.githubusercontent.com/u/292650?v=3","gravatar_id":"","url":"https://api.github.com/users/cpu","html_url":"https://github.com/cpu","followers_url":"https://api.github.com/users/cpu/followers","following_url":"https://api.github.com/users/cpu/following{/other_user}","gists_url":"https://api.github.com/users/cpu/gists{/gist_id}","starred_url":"https://api.github.com/users/cpu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpu/subscriptions","organizations_url":"https://api.github.com/users/cpu/orgs","repos_url":"https://api.github.com/users/cpu/repos","events_url":"https://api.github.com/users/cpu/events{/privacy}","received_events_url":"https://api.github.com/users/cpu/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T14:53:33Z","updated_at":"2016-11-28T14:53:33Z","body":"@ashb A PR and a small note to the mailing list is probably the best approach.\r\n\r\nI'm not an HTTP status lawyer but it seems like 204 is the more-appropriate choice in this context and [RFC7231](https://tools.ietf.org/html/rfc7231#section-6.3.1) seems to agree with you:\r\n>  Aside from responses to CONNECT, a 200 response always has a payload,\r\n> though an origin server MAY generate a payload body of zero length.\r\n> If no payload is desired, an origin server ought to send 204 (No\r\n> Content) instead. \r\n\r\nI would :+1: the PR to change to 204 for `new-nonce` :-)"}}
{"actor":{"display_login":"cpu"}}