Stipe,
The Base element in HTML specifies an absolute URI that acts as the base URI
for resolving relative URIs.
For example, given the following BASE declaration and A declaration:
+ADwAIQ-DOCTYPE HTML PUBLIC +ACI--//W3C//DTD HTML 4.01//EN+ACI-
+ACI-http://www.w3.org/TR/html4/strict.dtd+ACIAPg-
+ADw-HTML+AD4-
+ADw-HEAD+AD4-
+ADw-TITLE+AD4-Our Products+ADw-/TITLE+AD4-
+ADw-BASE href+AD0AIg-http://www.aviary.com/products/intro.html+ACIAPg-
+ADw-/HEAD+AD4-
+ADw-BODY+AD4-
+ADw-P+AD4-Have you seen our +ADw-A href+AD0AIg-../cages/birds.gif+ACIAPg-Bird
Cages+ADw-/A+AD4-?
+ADw-/BODY+AD4-
+ADw-/HTML+AD4-
the relative URI +ACI-../cages/birds.gif+ACI- would resolve to:
http://www.aviary.com/cages/birds.gif
I'm sure you may be clear about the problem in proxy redirection. If no base
element existing, problem will happen.
Best Regards,
Guanghua Hou
----- Original Message -----
From: +ACI-Stipe Tolj+ACI- +ADw-tolj+AEA-wapme-systems.de+AD4-
To: +ACI-Rene Kluwen+ACI- +ADw-rene.kluwen+AEA-chimit.nl+AD4-
Cc: +ACI-ghhou+ACI- +ADw-ghhou+AEA-utstar.com+AD4AOw- +ADw-devel+AEA-kannel.org+AD4-
Sent: Thursday, November 27, 2003 8:20 AM
Subject: Re: HTTP redirect
+AD4- Rene Kluwen wrote:
+AD4- +AD4-
+AD4- +AD4- -----BEGIN PGP SIGNED MESSAGE-----
+AD4- +AD4- Hash: SHA1
+AD4- +AD4-
+AD4- +AD4- If you mean a relative URL in the Location: header.
+AD4- +AD4- Then this is something against HTTP specs. One should not use them.
+AD4- +AD4- Even though almost all browsers do prepend the original http-path if you
do
+AD4- +AD4- send them.
+AD4-
+AD4- nop, the point is different.
+AD4-
+AD4- Kannel wapbox does the Location following (hence redirection)
+AD4- transparently to the WAP user agent. Hence relative URLs within the
+AD4- WAP deck would result to address resources that are ment to be on a
+AD4- previously redirected URL. And there is where we +ACI-may+ACI- run into
+AD4- problems.
+AD4-
+AD4- Stipe
+AD4-
+AD4- mailto:tolj+AEA-wapme-systems.de
+AD4- -------------------------------------------------------------------
+AD4- Wapme Systems AG