From 5144cde296c58751330dbf1968d56142f1ab981f Mon Sep 17 00:00:00 2001 From: Eric Hanson <5846501+ericphanson@users.noreply.github.com> Date: Mon, 12 Jul 2021 11:41:29 +0200 Subject: [PATCH] Update src/utilities/request.jl --- src/utilities/request.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utilities/request.jl b/src/utilities/request.jl index aa9ca5bf5..b62bfd5e7 100644 --- a/src/utilities/request.jl +++ b/src/utilities/request.jl @@ -29,7 +29,10 @@ function _http_request(::DownloadsBackend, request) input = IOBuffer() write(input, request.content) - response = Downloads.request(request.url; input, output, method = request.request_method, request.headers, verbose=false, throw=true, request.downloader) + response = Downloads.request(request.url; input, output, + method = request.request_method, + request.headers, verbose=false, throw=true, + request.downloader) http_response = HTTP.Response(response.status, response.headers; body=take!(output), request=nothing)