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 Robert Owen <Ro...@eur.sas.com> on 2002/04/16 18:55:04 UTC

SEARCH method returns SC_OK, not SC_MULTI_STATUS

I am getting a status of [200 OK] for SEARCH and should be getting [207
MultiStatus]. I wonder if the
"resp.setStatus(webdavResult.getWebdavStatus());" shouldn't be above the
"sendResult(responseDoc);"  on line 209 (Rev 1.11) of
org.apache.slide.webdav.method.SearchMethod. If the XMLOutputter
closes/flushes the buffer it's too late to set the status code. I have
changed the order of these two lines and now get a MultiStatus return code
(and can access the XML response).