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 lu...@apache.org on 2004/09/03 19:17:56 UTC

cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/method AbstractWebdavMethod.java

luetzkendorf    2004/09/03 10:17:56

  Modified:    src/webdav/server/org/apache/slide/webdav/method Tag:
                        SLIDE_2_1_RELEASE_BRANCH AbstractWebdavMethod.java
  Log:
  fix to support If-Match: *
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.43.2.3  +7 -3      jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/AbstractWebdavMethod.java
  
  Index: AbstractWebdavMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/AbstractWebdavMethod.java,v
  retrieving revision 1.43.2.2
  retrieving revision 1.43.2.3
  diff -u -r1.43.2.2 -r1.43.2.3
  --- AbstractWebdavMethod.java	19 Aug 2004 23:03:48 -0000	1.43.2.2
  +++ AbstractWebdavMethod.java	3 Sep 2004 17:17:55 -0000	1.43.2.3
  @@ -1122,6 +1122,10 @@
                               HttpServletResponse.SC_PRECONDITION_FAILED);
                       return false;
                   }
  +            } else {
  +                if (!resourceInfo.exists()) {
  +                    return false;
  +                }
               }
           }
           
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org