Skip to content

Commit

Permalink
Update src/utilities/request.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ericphanson authored Jul 12, 2021
1 parent bdc697e commit 5144cde
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utilities/request.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5144cde

Please sign in to comment.