Ryusei @mandel59.ryusei.dev · Feb 16

curlで "t.co" のURLを取ってきたら https: にリダイレクトしているけど、ブラウザで開くと http: のページが開く。なんで?

0 likes 1 replies

?

Replies

Ryusei · Feb 16

これ、ブラウザーからだと↓このHTMLが200で返ってきてるんだ ``` <head><meta name="referrer" content="always"><noscript><META http-equiv="refresh" content="0;URL=http://www.example.com"></noscript><title>http://www.example.com</title></head><script>window.opener = null; location.replace("http:\/\/www.example.com")</script> ```