X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcatalyst-request-rest.t;h=98b35177cae106843b0d048c4d8e54e7ba2d0718;hb=3907fd3c563eb2f3cd581aebf4d4080821ffdbb1;hp=44938973b27b31e62c689b8bfb7c322bedfa6c4b;hpb=d6fb033c1dbd94c0d527ec53291af2c50a482e9d;p=catagits%2FCatalyst-Action-Serialize-Data-Serializer.git diff --git a/t/catalyst-request-rest.t b/t/catalyst-request-rest.t index 4493897..98b3517 100644 --- a/t/catalyst-request-rest.t +++ b/t/catalyst-request-rest.t @@ -87,7 +87,7 @@ use HTTP::Headers; $request->headers( HTTP::Headers->new ); $request->parameters( {} ); $request->method('GET'); - $request->content_type('text/x-json'); + $request->content_type('application/json'); $request->headers->header( 'Accept' => # From Firefox 2.0 when it requests an html page @@ -95,7 +95,7 @@ use HTTP::Headers; ); is_deeply( $request->accepted_content_types, - [ qw( text/x-json + [ qw( application/json text/xml application/xml application/xhtml+xml image/png text/html