filetransfer: restore http status line reporting
this was broken in 75b62e5260.
Change-Id: If8583e802afbcde822623036bf41a9708fbc7c8d
This commit is contained in:
@@ -456,8 +456,8 @@ struct curlFileTransfer : public FileTransfer
|
||||
: httpStatus != 0
|
||||
? FileTransferError(err,
|
||||
std::move(response),
|
||||
"unable to %s '%s': HTTP error %d%s",
|
||||
request.verb(), request.uri, httpStatus,
|
||||
"unable to %s '%s': HTTP error %d (%s)%s",
|
||||
request.verb(), request.uri, httpStatus, statusMsg,
|
||||
code == CURLE_OK ? "" : fmt(" (curl error: %s)", curl_easy_strerror(code)))
|
||||
: FileTransferError(err,
|
||||
std::move(response),
|
||||
|
||||
Reference in New Issue
Block a user