X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=cgi%2Fcanned_responses.c;fp=cgi%2Fcanned_responses.c;h=3b09913eae64a1442b21174648ac4e0e86143008;hb=4d157537c34bdc5576b449d0a632841dc5237aab;hp=a1e4f2956a63611cb23b3c626a6ce15c2836f5d6;hpb=0db9b1f8be6ebaac73c53f174d0b8527a09771d1;p=blerg.git diff --git a/cgi/canned_responses.c b/cgi/canned_responses.c index a1e4f29..3b09913 100644 --- a/cgi/canned_responses.c +++ b/cgi/canned_responses.c @@ -36,9 +36,11 @@ void respond_405() { } void respond_JSON_Failure() { + printf("Content-type: application/json\r\n"); respond_simple_data(JSON_FAILURE, strlen(JSON_FAILURE)); } void respond_JSON_Success() { + printf("Content-type: application/json\r\n"); respond_simple_data(JSON_SUCCESS, strlen(JSON_SUCCESS)); }