mirror of
https://github.com/hnhx/librex.git
synced 2025-01-25 02:03:04 -03:00
refactor: remove invalid value of CURLOPT_ENCODING option
This commit is contained in:
parent
b29d7e0d91
commit
ed06bb7080
3 changed files with 3 additions and 3 deletions
|
@ -130,7 +130,7 @@
|
|||
// CURLOPT_PROXY => "ip:port",
|
||||
// CURLOPT_PROXYTYPE => CURLPROXY_HTTP,
|
||||
CURLOPT_RETURNTRANSFER => true,
|
||||
CURLOPT_ENCODING => "UTF-8",
|
||||
CURLOPT_ENCODING => "",
|
||||
CURLOPT_USERAGENT => "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
|
||||
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_WHATEVER,
|
||||
CURLOPT_CUSTOMREQUEST => "GET",
|
||||
|
|
|
@ -53,7 +53,7 @@ export APP_ANONYMOUS_OVERFLOW=${APP_ANONYMOUS_OVERFLOW:-""}
|
|||
export CURLOPT_PROXY_ENABLED=${CURLOPT_PROXY_ENABLED:-false}
|
||||
export CURLOPT_PROXY=${CURLOPT_PROXY:-""}
|
||||
export CURLOPT_RETURNTRANSFER=${CURLOPT_RETURNTRANSFER:-true}
|
||||
export CURLOPT_ENCODING=${CURLOPT_ENCODING:-"UTF-8"}
|
||||
export CURLOPT_ENCODING=${CURLOPT_ENCODING:-""}
|
||||
export CURLOPT_USERAGENT="${CURLOPT_USERAGENT:-"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"}"
|
||||
export CURLOPT_CUSTOMREQUEST="${CURLOPT_CUSTOMREQUEST:-"GET"}"
|
||||
export CURLOPT_MAXREDIRS=${CURLOPT_MAXREDIRS:-5}
|
||||
|
|
|
@ -41,7 +41,7 @@ ENV APP_ANONYMOUS_OVERFLOW=""
|
|||
ENV CURLOPT_PROXY_ENABLED=false
|
||||
ENV CURLOPT_PROXY=""
|
||||
ENV CURLOPT_RETURNTRANSFER=true
|
||||
ENV CURLOPT_ENCODING="UTF-8"
|
||||
ENV CURLOPT_ENCODING=""
|
||||
ENV CURLOPT_USERAGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
|
||||
ENV CURLOPT_CUSTOMREQUEST="GET"
|
||||
ENV CURLOPT_MAXREDIRS=5
|
||||
|
|
Loading…
Add table
Reference in a new issue