dougm 02/01/16 16:40:25
Modified: perl-framework/c-modules/eat_post mod_eat_post.c
Log:
allow method PUT
Revision Changes Path
1.2 +1 -1
httpd-test/perl-framework/c-modules/eat_post/mod_eat_post.c
Index: mod_eat_post.c
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/c-modules/eat_post/mod_eat_post.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mod_eat_post.c 17 Jan 2002 00:17:36 -0000 1.1
+++ mod_eat_post.c 17 Jan 2002 00:40:25 -0000 1.2
@@ -22,7 +22,7 @@
if (strcmp(r->handler, "eat_post")) {
return DECLINED;
}
- if (r->method_number != M_POST) {
+ if ((r->method_number != M_POST) && (r->method_number != M_PUT)) {
return DECLINED;
}