KyranRana / cloudflare-bypass

A new and improved PHP library which bypasses the Cloudflare IUAM page using cURL
MIT License
275 stars 97 forks source link

Feature/flow improvement #139

Closed KyranRana closed 4 years ago

momala454 commented 4 years ago

throw new \ErrorException("cURL handle does not contain correct headers (user-agent, accept, accept-language)");

the error is missing "Upgrade-Insecure-Requests":

const DEFAULT_HEADERS = [ "Upgrade-Insecure-Requests", "User-Agent", "Accept", "Accept-Language" ];