-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getHeaders #27
Comments
Then their might be an error still lingering around, but $value should always be an instance of CodeIgniter\HTTP\Header. Will need to verify the populateHeaders method. |
What server are you using for this? Looking back through your data, the Header instances are there, but for some reason have duplicate as strings. Following through the code, this shouldn't happen. Are these headers from the request or the response data? They look to be the request? |
W10-x64 php-7.0.4-Win32-VC14-x64 httpd-2.4.18-win64-VC14 ...application\Config\App.php var_dump($_SERVER);
|
Thanks. I was actually more curious about the server software itself. Apache, nginx, through XAMPP, etc.As mentioned on your other thread, I've just got a Windows setup about ready to use, but help debugging and providing solutions is always better than just stating a problem. I've only got so much time on my hands. :) |
XAMPP, etc I do not use only php and apache Distributor ID: Debian PHP 7.0.4-1~dotdeb+8.1 (cli) ( NTS ) Server version: Apache/2.4.10 (Debian) var_dump($headers); array(9) { |
Oh! I think I figured it out. I've been running under nginx lately, so I didn't notice the old code that pulled straight from apache. Issuing fix now. Thanks! |
On the plus side, I now have a version running under Apache and one running under nginx at all times so I should be able to find these types of issues easier. Which, shouldn't be all that often. |
windows OS
...\system\Debug\Toolbar\View\toolbar.tpl.php
var_dump($headers);
from this it follows that $value === string or $value === array
The text was updated successfully, but these errors were encountered: