Skip to content

Instantly share code, notes, and snippets.

Created March 2, 2016 23:01
What would you like to do?
All time favorite HTTP Status Code
teapot: function (data) {
var body = {
friendlyMessage: data.friendlyMessage || Status.TEAPOT,
message: statusMessage(Status.TEAPOT)
jsonResponse(data.res, body, { status: Status.TEAPOT });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment