[mod_python] Making an absolute URL

Gregory Bond gnb at itga.com.au
Fri Aug 22 09:39:34 EST 2003


mike.looijmans at asml.com said:
> Probably, the "Host" header from the client is a good thing for this,
> but it is only mandatory for HTTP/1.1 and not for 1.0 which many
> browsers still use. 

Most browsers still only claim HTTP/1.0, but nearly all of them use Host:
header. Most virtual hosting won't work without the Host header, so you'd have 
to go back to browsers from the IE/NS 3 era to find a problem. 

(IP addresses are getting scarce, so unless you use SSL and need IP-based 
vhosting, most web hosts only offer name-based vhosting.)





More information about the Mod_python mailing list