mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 12:48:08 +09:00
Added upgrade_insecure_requests
This commit is contained in:
1 parent
9c8f258f61
commit
9d670d9fbe
1 file changed
+12
-1
@@ -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
|
||||
),
|
||||
);
|
||||
Reference in new issue
Block a user