juergen     01/08/22 09:12:49

  Modified:    src/webdav/client/src/org/apache/webdav/lib/methods
                        LockMethod.java
  Log:
  Currently the server does not deliver an XML body for a conflict response code.
  
  Revision  Changes    Path
  1.24      +7 -5      
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java
  
  Index: LockMethod.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- LockMethod.java   2001/07/24 08:33:34     1.23
  +++ LockMethod.java   2001/08/22 16:12:48     1.24
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v
 1.23 2001/07/24 08:33:34 juergen Exp $
  - * $Revision: 1.23 $
  - * $Date: 2001/07/24 08:33:34 $
  + * $Header: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v
 1.24 2001/08/22 16:12:48 juergen Exp $
  + * $Revision: 1.24 $
  + * $Date: 2001/08/22 16:12:48 $
    *
    * ====================================================================
    *
  @@ -499,9 +499,11 @@
       public void parseResponse(InputStream input)
           throws IOException, HttpException {
           int status = getStatusCode();
  +//      if (status == HttpStatus.SC_OK ||
  +//          status == HttpStatus.SC_MULTI_STATUS ||
  +//          status == HttpStatus.SC_CONFLICT) {
           if (status == HttpStatus.SC_OK ||
  -            status == HttpStatus.SC_MULTI_STATUS ||
  -            status == HttpStatus.SC_CONFLICT) {
  +            status == HttpStatus.SC_MULTI_STATUS ) {
   
               parseXMLResponse(input);
   
  
  
  

Reply via email to