It is recommended to use a URL in the Location header of 3xx
authorreyk <reyk@openbsd.org>
Fri, 25 Jul 2014 23:23:39 +0000 (23:23 +0000)
committerreyk <reyk@openbsd.org>
Fri, 25 Jul 2014 23:23:39 +0000 (23:23 +0000)
commit6af4337171e0895dbdd1b8c827cdcf5dc38a073f
tree3ee6823cd5f379dd1d2682e8ad5f92f3f61cbd0f
parent9f126950b4c98a34723092e1fd1d2d40c173ce83
It is recommended to use a URL in the Location header of 3xx
responses.  To accomplish this, add some semantics to retrieve the
server host name of a connection: either IP, IP:PORT (if not 80) or
[IP6]:PORT, or Host value (if valid).
usr.sbin/httpd/http.h
usr.sbin/httpd/httpd.h
usr.sbin/httpd/server.c
usr.sbin/httpd/server_file.c
usr.sbin/httpd/server_http.c