|
|
|
@ -154,10 +154,11 @@ main(){ |
|
|
|
|
http_code = HTTP_OK; |
|
|
|
|
fcgi_out: |
|
|
|
|
cgiFree(cgi); |
|
|
|
|
printf("Status: %d\n", http_code); |
|
|
|
|
printf("Content-Type: text/plain; charset=utf-8\n"); |
|
|
|
|
printf("Content-Type: text/plain; charset=utf-8\r\n"); |
|
|
|
|
printf("Status: %d\r\n", http_code); |
|
|
|
|
printf("\r\n", http_code); |
|
|
|
|
if (http_code == HTTP_OK) { |
|
|
|
|
printf("%s\n", "OK"); |
|
|
|
|
printf("%s\r\n", "OK"); |
|
|
|
|
rc = 0; |
|
|
|
|
} else { |
|
|
|
|
rc = 1; |
|
|
|
|