added further documentation on Apache disallowing encoded slashes
dhoss [Sun, 1 Feb 2009 17:22:13 +0000 (17:22 +0000)]
lib/Catalyst/Action/REST.pm

index 06f1d6c..79e8ef3 100644 (file)
@@ -163,7 +163,10 @@ L<Catalyst::Action::Serialize>, L<Catalyst::Action::Deserialize>
 
 A:  Most likely, you haven't set Content-type equal to "application/json", or one of the 
 accepted return formats.  You can do this by setting it in your query string thusly:
-?content-type=application%2Fjson (where %2F == / uri escaped). **NOTE** Apache will refuse %2F unless configured otherise.
+?content-type=application%2Fjson (where %2F == / uri escaped). 
+
+**NOTE** Apache will refuse %2F unless configured otherise.
+Make sure AllowEncodedSlashes On is in your httpd.conf file in order for this to run smoothly.
 
 =cut