Prepping 0.31 for release
+Wed Dec 6 00:45:02 PST 2006 (adam) - Release 0.31
+ Fixed a bug where we would report a blank content-type negotiation.
+ Added Data::Dump as a dependency.
+
Tue Dec 5 13:02:08 PST 2006 (adam)
Made the YAML::HTML view automatically append content-type=text/html on
the resulting URLs.
requires('Data::Serializer' => '0.36');
requires('Class::Inspector' => '1.13');
requires('URI::Find' => undef);
+requires('Data::Dump' => undef);
feature 'Data::Denter (text/x-data-denter) support',
-default => 0,
use 5.8.1;
our
-$VERSION = '0.30';
+$VERSION = '0.31';
=head1 NAME
my ( $self, $c, $content_type ) = @_;
$c->res->content_type('text/plain');
$c->res->status(415);
- if (defined($content_type)) {
+ if (defined($content_type) && $content_type ne "") {
$c->res->body(
"Content-Type " . $content_type . " is not supported.\r\n" );
} else {