Absolute to relative URL?

Jon Ribbens jon+usenet at unequivocal.co.uk
Thu Apr 4 11:07:50 EST 2002


In article <3CAC567F.6090407 at mxm.dk>, Max M wrote:
>> http://foo/a/b/c + d       == http://foo/a/b/d
>> http://foo/a/b/c + ../d    == http://foo/a/d
>> http://foo/a/b/c + ../../d == http://foo/d
> 
> Then what is:
> 
> http://foo/ + d       == ?

http://foo/d of course. I don't see your point.                                 
See RFC 2396 for the rules on relative URL resolution.                          



More information about the Python-list mailing list