Skip to content

Instantly share code, notes, and snippets.

Embed
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
You can’t perform that action at this time.