tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector HttpResponseBase.java
Date Wed, 20 Sep 2000 17:11:41 GMT
craigmcc    00/09/20 10:11:40

  Modified:    catalina/src/share/org/apache/catalina/connector
                        HttpResponseBase.java
  Log:
  Add message strings for several WebDAV specific status codes.
  
  Revision  Changes    Path
  1.9       +12 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/HttpResponseBase.java
  
  Index: HttpResponseBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/HttpResponseBase.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- HttpResponseBase.java	2000/09/14 00:26:13	1.8
  +++ HttpResponseBase.java	2000/09/20 17:11:38	1.9
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/HttpResponseBase.java,v
1.8 2000/09/14 00:26:13 craigmcc Exp $
  - * $Revision: 1.8 $
  - * $Date: 2000/09/14 00:26:13 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/HttpResponseBase.java,v
1.9 2000/09/20 17:11:38 craigmcc Exp $
  + * $Revision: 1.9 $
  + * $Date: 2000/09/20 17:11:38 $
    *
    * ====================================================================
    *
  @@ -96,7 +96,7 @@
    * methods need to be implemented.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.8 $ $Date: 2000/09/14 00:26:13 $
  + * @version $Revision: 1.9 $ $Date: 2000/09/20 17:11:38 $
    */
   
   public class HttpResponseBase
  @@ -342,6 +342,14 @@
   	    return ("Unsupported Media Type");
   	case SC_USE_PROXY:
   	    return ("Use Proxy");
  +        case 207:       // WebDAV
  +            return ("Multi-Status");
  +        case 422:       // WebDAV
  +            return ("Unprocessable Entity");
  +        case 423:       // WebDAV
  +            return ("Locked");
  +        case 507:       // WebDAV
  +            return ("Insufficient Storage");
   	default:
   	    return ("HTTP Response Status " + status);
   	}
  
  
  

Mime
View raw message