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:
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
Post a Comment