I'm trying to get the headers from several URL with get_headers().
It's working correctly for some URL but for others I receive HTTP/1.1 404 File Not Found
as an answer but when I analyze it with a tool such as http://web-sniffer.net/ i see that the real answer is HTTP/1.0 302 Found
.
When i'm trying with a browser, I'm redirected to another URL so the good answer should not be the 404 one...
What do I need to change in order to receive the correct header in my script?
For example this URL: http://mp3lg4.tdf-cdn.com/10160/rmc.mp3