-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make definition of HTTP headers always as arrays and not strings
To ease further HTTP headers manipulation with future HTTPS proxy (see #249) and `GOOGLE_ABUSE_EXEMPTION` cookie. Verifying current `getContextFromOpts` correctness: ```php <?php $headers = 'test'; foreach ($headers as $headerIndex => $header) { echo "header: $header\n"; } ``` ``` PHP Warning: foreach() argument must be of type array|object, string given in /home/benjamin/test.php on line 5 ```
- Loading branch information
1 parent
42b53ff
commit 48f8e2d
Showing
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters