----- Original Message -----
From: "Pill, Juergen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 10:59 PM
Subject: RE: cvs commit:
jakarta-slide/src/webdav/server/org/apache/slide/webdav/method
CopyMethod.java MoveMethod.java
> There is an addition point, which just came into my mind:
>
> What happens if no port is set. In this case the Host is not stripped
> either. Any ideas?
Actually, I think we should match it with the host header.
The rest of the host header would be an absolute path.
> jakarta-slide/src/webdav/server/org/apache/slide/webdav/method
> CopyMethod.java MoveMethod.java
>
> if the host name was not localhost but rather an alias like xyz, the
> hostName was not stripped from the destinationUri, resulting in an
incorrect
> destUri. It is OPEN to me, what happens if the host in the destUri is not
an
> alias, but a different host?
So, I guess that wouln't be an different host.
Actually, the Request-URI would be http://www.host.com/path or /path.
In case if there are the scheme and authority part, It should be ignored.
Just regarded the same host... And respected the host header. ;-)
Sung-Gu
P.S.: In this need, I made the getPath(String) method in the HttpURL class.