+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <stdio.h>
#include <string.h>
#include "canned_responses.h"
fwrite(data, len, 1, stdout);
}
+void respond_403() {
+ printf("Status: 403 Forbidden\r\n");
+ printf("Content-type: text/html\r\n");
+ printf("Content-length: %d\r\n\r\n", strlen(CONTENT_403));
+
+ printf(CONTENT_403);
+}
+
void respond_404() {
printf("Status: 404 Not Found\r\n");
printf("Content-type: text/html\r\n");