cancel
Showing results for 
Search instead for 
Did you mean: 

Spooky problem about headers

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Spooky problem about headers

I can't get my REST to authenticate because my ISP strips the Authorization header, and puts it into $_SERVER['REDIRECT_HTTP_AUTHORIZATION'] (apparently security concern)

The really spooky thing is (for me a php novice), if I put a header dump into a test.php, i can see the value of $_SERVER['REDIRECT_HTTP_AUTHORIZATION'], but if I put the dump into the very top of index.php and call with myshop.com/oauth/initiate it isn't there???????

1 REPLY 1

Re: Spooky problem about headers

I think its in the rewrite rules, apparently rewrites make a fresh request to I guess the values are disappearing there.