jakarta-slide-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juer...@apache.org
Subject cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods XMLResponseMethodBase.java
Date Fri, 02 Aug 2002 12:14:51 GMT
juergen     2002/08/02 05:14:51

  Modified:    src/webdav/client/src/org/apache/webdav/lib/methods
                        XMLResponseMethodBase.java
  Log:
  403 and 409 may deliver a response body.
  
  Revision  Changes    Path
  1.29      +6 -4      jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/XMLResponseMethodBase.java
  
  Index: XMLResponseMethodBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/XMLResponseMethodBase.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- XMLResponseMethodBase.java	25 Apr 2002 21:15:15 -0000	1.28
  +++ XMLResponseMethodBase.java	2 Aug 2002 12:14:51 -0000	1.29
  @@ -220,7 +220,9 @@
        */
       public void parseResponse(InputStream input)
           throws IOException, HttpException {
  -        if (getStatusCode() == WebdavStatus.SC_MULTI_STATUS) {
  +        if (getStatusCode() == WebdavStatus.SC_MULTI_STATUS ||
  +            getStatusCode() == WebdavStatus.SC_CONFLICT     ||
  +            getStatusCode() == WebdavStatus.SC_FORBIDDEN ) {
               parseXMLResponse(input);
           }
       }
  
  
  

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


Mime
View raw message