Skip to content

Commit

Permalink
fix, test: multiheader-cookie test, now queries a domain and url in o…
Browse files Browse the repository at this point in the history
…ur control which returns 3 hard coded test cookies (#968)
  • Loading branch information
braindigitalis authored Oct 22, 2023
1 parent ed427be commit 4744531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unittest/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Markdown lol \\|\\|spoiler\\|\\| \\~\\~strikethrough\\~\\~ \\`small \\*code\\* b

set_test(MULTIHEADER, false);
try {
dpp::https_client c2("www.google.com", 80, "/", "GET", "", {}, true);
dpp::https_client c2("dl.dpp.dev", 443, "/cookietest.php", "GET", "", {});
size_t count = c2.get_header_count("set-cookie");
size_t count_list = c2.get_header_list("set-cookie").size();
// Google sets a bunch of cookies when we start accessing it.
Expand Down

0 comments on commit 4744531

Please sign in to comment.