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

@@ -4,7 +4,6 @@
int main (int ac, char **av, char ** env)
{
std::string http_header;
std::string http_body;
std::string http_status;
std::string rq_body;
@@ -12,10 +11,11 @@ int main (int ac, char **av, char ** env)
(void)ac;
(void)av;
(void)env;
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;
std::cout << http_header << CRLF;
return 0;
}