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

@@ -5,10 +5,11 @@
# include <iostream>
# include <string>
# include <sstream>
# include <fstream>
# include <vector>
# include <stdlib.h> // getenv
# include <algorithm> // transform
# include <unistd.h> // sleep
# include <unistd.h> // sleep, close, access
# define CR "\r"
# define LF "\n"
@@ -58,11 +59,10 @@ std::string
print_form(std::string form, std::string key = "p", std::string val = "p");
void
fill_response_basic(
char **env,
std::string & http_body,
std::string & http_header,
const std::string & rq_body);
fill_body_basic(char **env, std::string & http_body, const std::string & rq_body);
size_t
eval_file_read(const std::string &path);
#endif