Making the default serializer be specified by content-type, not module.
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / Deserialize.pm
index c45d86b..f89447f 100644 (file)
@@ -53,7 +53,7 @@ Catalyst::Action::Deserialize - Deserialize Data in a Request
 
     __PACKAGE__->config(
         serialize => {
-            'default'   => 'YAML',
+            'default'   => 'text/x-yaml',
             'stash_key' => 'rest',
             'map'       => {
                 'text/x-yaml'        => 'YAML',