added script download test
This commit is contained in:
@@ -13,10 +13,12 @@ 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;
|
||||
|
||||
fill_body_basic(env, http_body, rq_body);
|
||||
|
||||
http_status = get_value("Status", rq_body);
|
||||
http_header += "Status: " + http_status;
|
||||
http_header += "Status: " + http_status + CRLF;
|
||||
|
||||
std::cout << http_header << CRLF CRLF << http_body;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user