mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-19 11:09:42 +00:00
Sending status 200 to CGI by default
This commit is contained in:
1 parent
fa4179ee53
commit
a4e8dc3069
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user