mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix checking for embedded error in PocoHTTPClient.
This commit is contained in:
parent
1eb0d5db16
commit
e23c42d042
2
contrib/aws
vendored
2
contrib/aws
vendored
@ -1 +1 @@
|
||||
Subproject commit e15b0695c5b3c0f8dc15c89b5e7eb73b2747fdec
|
||||
Subproject commit 6b469eeff9782698bb9a2607b9668d905922d7a7
|
@ -177,7 +177,7 @@ namespace
|
||||
bool checkRequestCanReturn2xxAndErrorInBody(Aws::Http::HttpRequest & request)
|
||||
{
|
||||
auto query_params = request.GetQueryStringParameters();
|
||||
if (request.HasHeader("z-amz-copy-source"))
|
||||
if (request.HasHeader("x-amz-copy-source"))
|
||||
{
|
||||
/// CopyObject https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
|
||||
if (query_params.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user