tinyurl - Tiny URL redirection works in browser, but from curl returns 200 instead of 301 -


this looks weird me, may i'm missing obvious. following sample tinyurl:

http://tinyurl.com/67lwfe

it works browser, redirects desired page. when try using curl following:

curl -i http://tinyurl.com/67lwfe 

it responds 200 instead of 3xx response. thought page might responding meta refresh html tag, tried:

curl http://tinyurl.com/67lwfe 

but responds blank no html or meta refresh tags. question how browser knows redirect properly? i've tried setting browser agents no luck. missing obvious?

tinyurl appears serve 200 <meta http-equiv="refresh"> initially, 301s subsequent requests amount of time afterwards, can set cookies (two of them!), run ton of tracking scripts, , slow people down.

that say, tinyurl sucks, , url shorteners. question.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -