Pārlūkot izejas kodu

Capture URL _after_ redirects

default_compile_flags
vector-of-bool pirms 3 gadiem
vecāks
revīzija
b6ab6e34b7
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      src/dds/util/http/pool.cpp

+ 2
- 2
src/dds/util/http/pool.cpp Parādīt failu

@@ -111,7 +111,7 @@ struct http_client_impl {
{"Host", hostname_port},
{"Accept", "*/*"},
{"Content-Length", "0"},
{"TE", "gzip, chunked, plain"},
{"TE", "gzip, chunked"},
{"Connection", "keep-alive"},
};
if (!params.prior_etag.empty()) {
@@ -385,8 +385,8 @@ void http_client::_set_ready() noexcept {
}

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


Notiek ielāde…
Atcelt
Saglabāt