]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Work around a brokenness in the HTTP spec by generating the Host header
authorGarrett Wollman <wollman@FreeBSD.org>
Sat, 26 Jul 1997 20:18:43 +0000 (20:18 +0000)
committerGarrett Wollman <wollman@FreeBSD.org>
Sat, 26 Jul 1997 20:18:43 +0000 (20:18 +0000)
commit12b78297398da6ab50823bd4ea9e7afc3ec505fe
tree2ad9e8cfa58e241cc6deb158b70f6442540f9179
parent1d7adc8bea09c232408e47fa5ff52bc75189386f
Work around a brokenness in the HTTP spec by generating the Host header
for ftp: URLs as well.  This can't possibly be done in the general case,
but since we only claim to support http and ftp, we'll adhere to the
bogus requirement (RFC 2068, s. 14.25) anyway...  >sigh<

Submitted by: =?iso-8859-1?Q?=C5ge_R=F8bekk?= <aagero@aage.priv.no>
usr.bin/fetch/http.c