note 129638 added to context.http
| From: | njt1982@yahoo.com | Date: | Thu, 04 Jul 2024 12:11:57 +0000 |
| Subject: | note 129638 added to context.http | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221410@lists.php.net to get a copy of this message | ||
It's worth noting that the
header array seems to only want an array of strings,
not an associative array.
I just spent a chunk of time debugging something not working as expected (no errors though) which
was fixed by converting an associative array of headers into a simple array of strings.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 2a02:8010:60e2:0:fc71:47b3:f41e:bd08)
----
Manual Page -- https://php.net/manual/en/context.http.php
Edit -- https://main.php.net/note/edit/129638
Del: integrated -- https://main.php.net/note/delete/129638/integrated
Del: useless -- https://main.php.net/note/delete/129638/useless
Del: bad code -- https://main.php.net/note/delete/129638/bad+code
Del: spam -- https://main.php.net/note/delete/129638/spam
Del: non-english -- https://main.php.net/note/delete/129638/non-english
Del: in docs -- https://main.php.net/note/delete/129638/in+docs
Del: other reasons-- https://main.php.net/note/delete/129638
Reject -- https://main.php.net/note/reject/129638
Search -- https://main.php.net/manage/user-notes.php