22 lines
366 B
C++
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;
|
|
}
|
|
|