Use HTTP1.1 to read S3 objects
Some of the READs otherwise use HTTP/1.0 which is not always supported by all backends. HTTP/1.1 is there since 1999 way longer than S3 so safe to assume it is always there IMO. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
9c2074fb53
commit
b62b835f6c
|
@ -61,6 +61,7 @@ trait S3ObjectTrait {
|
||||||
}
|
}
|
||||||
$opts = [
|
$opts = [
|
||||||
'http' => [
|
'http' => [
|
||||||
|
'protocol_version' => 1.1,
|
||||||
'header' => $headers
|
'header' => $headers
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue