Synced
This commit is contained in:
parent
be636d3a48
commit
453220b1e9
1 changed files with 8 additions and 9 deletions
|
|
@ -227,8 +227,8 @@ class yep{
|
|||
|
||||
curl_setopt($curlproc, CURLOPT_URL, $url);
|
||||
|
||||
// use http2
|
||||
curl_setopt($curlproc, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
|
||||
// use http1
|
||||
curl_setopt($curlproc, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
|
||||
|
||||
curl_setopt($curlproc, CURLOPT_ENCODING, ""); // default encoding
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue