added script download test
This commit is contained in:
@@ -12,11 +12,13 @@ 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;
|
||||
http_header += "Content-Length: " + itos(http_body.size() + 100) + CRLF;
|
||||
|
||||
http_header += "Content-Length: " + itos(http_body.size() + 100);
|
||||
fill_body_basic(env, http_body, rq_body);
|
||||
|
||||
std::cout << http_header << CRLF CRLF << http_body;
|
||||
|
||||
std::cout << http_header << CRLF << http_body;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user