Is there an Apache or Php setting that would change a header returned by getallheaders() from Capitalized to lowercase?
On my localhost it receives an Authorization header but the same code returns authorization on the server. and the same client(Postman) is being used in both cases
$headers = array_change_key_case(getallheaders(), CASE_LOWER);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With