2 ms·
I managed to get a 302 response code in curl by passing both a Firefox user-agent and an accept header. Neither the accept header alone nor the user-agent alon
by Wilya 12y ago
I managed to get a 302 response code in curl by passing both a Firefox user-agent and an accept header.
Neither the accept header alone nor the user-agent alone are sufficient. It seems they are testing for both.
curl -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -A "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0" -I http://i.imgur.com/zvATqgs.mp4