added script download test

This commit is contained in:
Hugo LAMY
2022-08-17 18:21:55 +02:00
parent 517f5dfc8a
commit c6ebb95dc5
20 changed files with 165 additions and 38 deletions

View File

@@ -12,9 +12,11 @@ int main (int ac, char **av, char ** env)
(void)ac;
(void)av;
fill_response_basic(env, http_body, http_header, rq_body);
http_header = "Content-Type: text/html; charset=UTF-8" CRLF;
std::cout << http_header << CRLF CRLF << http_body;
fill_body_basic(env, http_body, rq_body);
std::cout << http_header << CRLF << http_body;
return 0;
}