You are correct but I added these lines to support SSL,
the scheme is needed in CopyMethod and MoveMethod.
If you correct this you also have to change:
public void generateHeaders(String host, State state)
to:
public void generateHeaders(String scheme,String host, State state)
and adjust CopyMethod and MoveMethod to use it.
Dirk
"Pill, Juergen" wrote:
>
> Hello Dirk,
>
> You have added following lines to the method "HttpClient.SendRequestHeader".
> This code does not work with mod_dav, and I believe it violates the http
> standard: RFC2616, page 128, chapter 14.23 Host.
> Do you mind, if we remove those lines:
>
> // if (this.https)
> // hostName = "https://" + hostName;
> // else
> // hostName = "http://" + hostName;
>
> Best regards
>
> juergen
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>