Content-Location is a http level equivalent of the base tag. But also not widely used.
Why not just take the Location header of the previous response?

Rene Kluwen
Chimit

-----Original Message-----
From: devel-admin+AEA-kannel.org +AFs-mailto:devel-admin+AEA-kannel.org+AF0-On Behalf 
Of
ghhou
Sent: vrijdag 28 november 2003 2:21
To: rene.kluwen+AEA-chimit.nl+ADs- Stipe Tolj+ADs- devel+AEA-kannel.org
Subject: Fw: HTTP redirect


Rene Kluwen,

In HTTP1.0, +ACI-Content-base+ACI- is base URI. But HTTP1.1 doesn't support this
header.

Can 'content-location' in the http response be used as base URL?  Rfc2616
says +ACI-The value of Content-Location also defines the base URI for the
entity.+ACI-.


Best Regards,
Guanghua Hou
----- Original Message -----
From: +ACI-Rene Kluwen+ACI- +ADw-rene.kluwen+AEA-chimit.nl+AD4-
To: +ACI-ghhou+ACI- +ADw-ghhou+AEA-utstar.com+AD4AOw- +ACI-Stipe Tolj+ACI- 
+ADw-tolj+AEA-wapme-systems.de+AD4AOw-
+ADw-devel+AEA-kannel.org+AD4-
Sent: Thursday, November 27, 2003 10:39 PM
Subject: RE: HTTP redirect


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



Reply via email to