Browse Source

Capture URL _after_ redirects

default_compile_flags
vector-of-bool 3 years ago
parent
commit
b6ab6e34b7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/dds/util/http/pool.cpp

+ 2
- 2
src/dds/util/http/pool.cpp View File

{"Host", hostname_port}, {"Host", hostname_port},
{"Accept", "*/*"}, {"Accept", "*/*"},
{"Content-Length", "0"}, {"Content-Length", "0"},
{"TE", "gzip, chunked, plain"},
{"TE", "gzip, chunked"},
{"Connection", "keep-alive"}, {"Connection", "keep-alive"},
}; };
if (!params.prior_etag.empty()) { if (!params.prior_etag.empty()) {
} }


request_result http_pool::request(neo::url url, http_request_params params) { request_result http_pool::request(neo::url url, http_request_params params) {
DDS_E_SCOPE(url);
for (auto i = 0; i <= 100; ++i) { for (auto i = 0; i <= 100; ++i) {
DDS_E_SCOPE(url);
params.path = url.path; params.path = url.path;
params.query = url.query.value_or(""); params.query = url.query.value_or("");



Loading…
Cancel
Save