You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by "Park, Sung-Gu" <je...@thinkfree.com> on 2000/11/30 19:09:48 UTC

Host Header in the WebdavClient.java file

As following the rule in the RFC 2616,
       Host = "Host" ":" host [ ":" port ] ; Section 3.2.2

in the sendRequest(WebdavMethod method), I recommend this, 

        method.generateHeaders(
            sessionHost + (sessionPort == 80 ? "" : ":" + sessionPort),
            state);

rather than

        //method.generateHeaders(sessionHost, state);


Sung-Gu.