Added upgrade_insecure_requests

This commit is contained in:
Yağızhan authored and GitHub committed 2021-10-25 00:47:38 +03:00
1 parent 9c8f258f61
commit 9d670d9fbe
1 file changed
+12 -1
+12 -1
View File
@@ -142,6 +142,17 @@ return array(
'user_agent' => 'Mozilla/5.0 (RedHatEnterpriseLinux; Linux x86_64; BoxBilling; +http://boxbilling.org) Gecko/20100101 Firefox/93.0',
// Default request timeout
'timeout' => 5.0
'timeout' => 5.0,
/**
* The HTTP Upgrade-Insecure-Requests header sends a signal to the server
* expressing the client’s preference for an encrypted response.
*
* 0: don't ask for an encrypted response
* 1: ask for an encrypted response
*
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade-Insecure-Requests
*/
'upgrade_insecure_requests' => 0
),
);