Sending status 200 to CGI by default

This commit is contained in:
Sergey Lyubka committed 2014-01-11 16:18:59 +00:00
1 parent fa4179ee53
commit a4e8dc3069
1 file changed
+1 -1
+1 -1
View File
@@ -1090,7 +1090,7 @@ static void prepare_cgi_environment(struct connection *conn,
assert(blk->len < (int) sizeof(blk->buf));
}
static const char cgi_status[] = "HTTP/1.1 XXX OK\r\n";
static const char cgi_status[] = "HTTP/1.1 200 OK\r\n";
static void open_cgi_endpoint(struct connection *conn, const char *prog) {
struct cgi_env_block blk;