first cut at body matching
[catagits/Web-Simple.git] / lib / Web / Simple / DispatchParser.pm
index f665d9f..0fe2c5a 100644 (file)
@@ -136,6 +136,10 @@ sub _parse_spec_section {
     # ?<param spec>
     /\G\?/gc and
       return $self->_parse_param_handler($_, 'query');
+
+    # %<param spec>
+    /\G\%/gc and
+      return $self->_parse_param_handler($_, 'body');
   }
   return; # () will trigger the blam in our caller
 }