Files
42_INT_12_webserv/srcs/cgi-bin/cgi_cpp.cpp
2022-08-16 20:58:48 +02:00

22 lines
366 B
C++

# include "cgi_utils.hpp"
# include <unistd.h>
int main (int ac, char **av, char ** env)
{
std::string http_header;
std::string http_body;
(void)ac;
(void)av;
::sleep(30);
fill_response_basic(env, http_body, http_header);
std::cout << http_header << CRLF CRLF << http_body;
return 0;
}