juergen     02/04/18 01:29:14

  Modified:    src/webdav/client/src/org/apache/webdav/lib/methods
                        LockMethod.java
  Log:
  accept a created response code in case of locking a null resource. Reported by 
[EMAIL PROTECTED], thanks.
  
  Revision  Changes    Path
  1.29      +5 -4      
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.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- LockMethod.java   28 Mar 2002 06:12:10 -0000      1.28
  +++ LockMethod.java   18 Apr 2002 08:29:14 -0000      1.29
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v
 1.28 2002/03/28 06:12:10 jericho Exp $
  - * $Revision: 1.28 $
  - * $Date: 2002/03/28 06:12:10 $
  + * $Header: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v
 1.29 2002/04/18 08:29:14 juergen Exp $
  + * $Revision: 1.29 $
  + * $Date: 2002/04/18 08:29:14 $
    *
    * ====================================================================
    *
  @@ -379,7 +379,7 @@
   
       /**
        * get the timeout value.
  -     * 
  +     *
        * @return timeout
        */
       public int getTimeout() {
  @@ -538,6 +538,7 @@
   //          status == HttpStatus.SC_MULTI_STATUS ||
   //          status == HttpStatus.SC_CONFLICT) {
           if (status == HttpStatus.SC_OK ||
  +            status == HttpStatus.SC_CREATED ||
               status == HttpStatus.SC_MULTI_STATUS ) {
   
               parseXMLResponse(input);
  
  
  

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

Reply via email to