mirror of
https://github.com/Intervention/image.git
synced 2025-09-02 10:23:29 +02:00
fix envoy 426 repsonse
This commit is contained in:
@@ -69,6 +69,7 @@ abstract class AbstractDecoder
|
|||||||
$options = [
|
$options = [
|
||||||
'http' => [
|
'http' => [
|
||||||
'method'=>"GET",
|
'method'=>"GET",
|
||||||
|
'protocol_version'=>1.1, // force use HTTP 1.1 for service mesh environment with envoy
|
||||||
'header'=>"Accept-language: en\r\n".
|
'header'=>"Accept-language: en\r\n".
|
||||||
"User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2\r\n"
|
"User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2\r\n"
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user