Hi,

The response is a 302 with a Location header pointing to the destination
of the redirect:

$ curl -v http://openwrt.org/
* About to connect() to openwrt.org port 80 (#0)
*   Trying 78.24.191.177... connected
> GET / HTTP/1.1
> User-Agent: curl/7.23.1 (x86_64-pc-linux-gnu) libcurl/7.23.1
> OpenSSL/1.0.0e zlib/1.2.5 libidn/1.23 libssh2/1.2.8 librtmp/2.3
> Host: openwrt.org
> Accept: */*
>
* additional stuff not fine transfer.c:1036: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 302 Moved Temporarily
< Server: nginx/0.7.65
< Date: Tue, 10 Jan 2012 14:48:10 GMT
< Content-Type: text/html
< Content-Length: 161
< Connection: keep-alive
< Location: https://openwrt.org/
< Expires: Thu, 01 Jan 1970 00:00:01 GMT
< Cache-Control: no-cache
<
<html>
<head><title>302 Found</title></head>
<body bgcolor="white">
<center><h1>302 Found</h1></center>
<hr><center>nginx/0.7.65</center>
</body>
</html>
* Connection #0 to host openwrt.org left intact
* Closing connection #0

-- 
Damien

> How did you find out that
> HTTP requests to port 80 respond with a redirect to "https://openwrt.org/"; ?
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to