4 ms·
Huh? It works for me, with a 301 redirect. Truncated output: $ curl -Lv http://bbc.co.uk > GET / HTTP/1.1 > Host: bbc.co.uk > User-Agent: curl/
by CapacitorSet 9y ago
Huh? It works for me, with a 301 redirect. Truncated output:
$ curl -Lv http://bbc.co.uk
> GET / HTTP/1.1
> Host: bbc.co.uk
> User-Agent: curl/7.56.1
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Location: http://www.bbc.co.uk/
<
> GET / HTTP/1.1
> Host: www.bbc.co.uk
> User-Agent: curl/7.56.1
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Location: https://www.bbc.co.uk/
<
> GET / HTTP/2
> Host: www.bbc.co.uk
> User-Agent: curl/7.56.1
> Accept: */*
>
< HTTP/2 200
< content-type: text/html; charset=utf-8
< content-length: 270866