Hi,

thanks for your hint, I fixed that. However, I'm a little bit confused, as
in my testcases this worked fine.

Regards,
Martin

-----Original Message-----
From: Robert Owen [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 16. April 2002 18:55
To: '[EMAIL PROTECTED]'
Subject: 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). 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to