https://lolcow.wiki/wiki/File:TJ_Church_2.jpg The URL I'm using.
The significant part is that it redirects to /wiki/:
The significant part is that it redirects to /wiki/:
Code:
$ curl -v -X GET https://lolcow.wiki/wiki/File:TJ_Church_2.jpg
Note: Unnecessary use of -X or --request, GET is already inferred.
* Trying 2400:cb00:2048:1::681c:630...
* TCP_NODELAY set
* Connected to lolcow.wiki (2400:cb00:2048:1::681c:630) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
(ssl stuff clipped)
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=
(stream id removed)
> GET /wiki/File:TJ_Church_2.jpg HTTP/2
> Host: lolcow.wiki
> User-Agent: curl/7.57.0
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 301
< date: Fri, 22 Dec 2017 04:28:57 GMT
< content-type: text/html; charset=UTF-8
(cookie removed)
< location: /wiki/
< cf-cache-status: HIT
< expires: Fri, 22 Dec 2017 08:28:57 GMT
< cache-control: public, max-age=14400
< server: cloudflare
(cf ray removed)
<
* Connection #0 to host lolcow.wiki left intact