{"id":13342041,"date":"2020-09-01T00:06:39","date_gmt":"2020-09-01T00:06:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/auth-header\/"},"modified":"2020-09-01T00:06:39","modified_gmt":"2020-09-01T00:06:39","slug":"auth-header","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/auth-header\/","title":{"rendered":"Auth header"},"content":{"rendered":"<p>A some hostings set all letters in headers to small letters. And we have &#8216;authorization&#8217;, but not &#8216;Authorization&#8217;. Can you please fix it?<br \/>\nFast fix is adding else one element to headers:<br \/>\n$possibleAuthHeaderKeys = [&#8216;Authorization&#8217;, &#8216;authorization&#8217;, &#8216;HTTP_AUTHORIZATION&#8217;, &#8216;REDIRECT_HTTP_AUTHORIZATION&#8217;];<\/p>\n<p>But maybe you set all letters in headers to small, and in you array set all letters to small?<\/p>\n<p>Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-13342041","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13342041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13342041\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13342041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}