[pbs-devel] applied: [PATCH proxmox-backup 2/7] add tools::http for generic HTTP GET and move HttpsConnector there
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Oct 21 20:31:53 CEST 2020
On 21.10.20 11:41, Stefan Reiter wrote:
> ...to avoid having the tools:: module depend on api2.
>
> The get_string function is based directly on hyper and thus relatively
> simple, not supporting redirects for example.
>
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> src/client/http_client.rs | 75 ++--------------------------
> src/tools.rs | 1 +
> src/tools/http.rs | 100 ++++++++++++++++++++++++++++++++++++++
> 3 files changed, 104 insertions(+), 72 deletions(-)
> create mode 100644 src/tools/http.rs
>
>
applied this one already, as I need it myself, thanks!
More information about the pbs-devel
mailing list