/*
- * $Id: enums.h,v 1.156 1999/06/17 22:20:38 wessels Exp $
+ * $Id: enums.h,v 1.157 1999/06/18 04:24:59 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
METHOD_CONNECT, /* 101 */
METHOD_TRACE, /* 110 */
METHOD_PURGE, /* 111 */
+#ifndef RFC_2518
+ METHOD_PROPFIND,
+ METHOD_PROPPATCH,
+ METHOD_MKCOL,
+ METHOD_COPY,
+ METHOD_MOVE,
+ METHOD_LOCK,
+ METHOD_UNLOCK,
+#endif
METHOD_ENUM_END
};
typedef unsigned int method_t;
/*
- * $Id: url.cc,v 1.116 1999/05/04 21:58:46 wessels Exp $
+ * $Id: url.cc,v 1.117 1999/06/18 04:25:01 wessels Exp $
*
* DEBUG: section 23 URL Parsing
* AUTHOR: Duane Wessels
"HEAD",
"CONNECT",
"TRACE",
- "PURGE"
+ "PURGE",
+#ifndef RFC_2518
+ "PROPFIND",
+ "PROPPATCH",
+ "MKCOL",
+ "COPY",
+ "MOVE",
+ "LOCK",
+ "UNLOCK",
+#endif
+ "ERROR"
};
const char *ProtocolStr[] =
return METHOD_TRACE;
} else if (strcasecmp(s, "PURGE") == 0) {
return METHOD_PURGE;
+#ifndef RFC_2518
+ } else if (strcasecmp(s, "PROPFIND") == 0) {
+ return METHOD_PROPFIND;
+ } else if (strcasecmp(s, "PROPPATCH") == 0) {
+ return METHOD_PROPPATCH;
+ } else if (strcasecmp(s, "MKCOL") == 0) {
+ return METHOD_MKCOL;
+ } else if (strcasecmp(s, "COPY") == 0) {
+ return METHOD_COPY;
+ } else if (strcasecmp(s, "MOVE") == 0) {
+ return METHOD_MOVE;
+ } else if (strcasecmp(s, "LOCK") == 0) {
+ return METHOD_LOCK;
+ } else if (strcasecmp(s, "UNLOCK") == 0) {
+ return METHOD_UNLOCK;
+#endif
}
return METHOD_NONE;
}