[Catalyst-commits] r9155 - Catalyst-Action-REST/0.60/trunk/lib/Catalyst/Action

dhoss at dev.catalyst.perl.org dhoss at dev.catalyst.perl.org
Sun Feb 1 17:22:13 GMT 2009

Author: dhoss
Date: 2009-02-01 17:22:13 +0000 (Sun, 01 Feb 2009)
New Revision: 9155

added further documentation on Apache disallowing encoded slashes

Modified: Catalyst-Action-REST/0.60/trunk/lib/Catalyst/Action/REST.pm
--- Catalyst-Action-REST/0.60/trunk/lib/Catalyst/Action/REST.pm	2009-02-01 17:10:35 UTC (rev 9154)
+++ Catalyst-Action-REST/0.60/trunk/lib/Catalyst/Action/REST.pm	2009-02-01 17:22:13 UTC (rev 9155)
@@ -163,8 +163,11 @@
 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.

More information about the Catalyst-commits mailing list