From: Tomas Doran Date: Tue, 13 Apr 2010 22:12:13 +0000 (+0000) Subject: Document return of C::T::get is bytes not characters, RT#53678 X-Git-Tag: 5.80023~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=8fa9321c8712ff964e93a72b4f78345d20400552 Document return of C::T::get is bytes not characters, RT#53678 --- diff --git a/Changes b/Changes index c43f463..aa7f2f5 100644 --- a/Changes +++ b/Changes @@ -14,6 +14,10 @@ - Require CGI::Simple::Cookie version 1.109 to ensure support for the HttpOnly flag + Documentation: + - The Catalyst::Test::get method is documented as returning the raw + response bytes without any character decoding (RT#53678) + 5.80022 2010-03-28 19:43:01 New features: diff --git a/lib/Catalyst/Test.pm b/lib/Catalyst/Test.pm index f987172..e940be0 100644 --- a/lib/Catalyst/Test.pm +++ b/lib/Catalyst/Test.pm @@ -202,6 +202,9 @@ method and the L method below: is ( $uri->path , '/y'); my $content = get($uri->path); +Note also that the content is returned as raw bytes, without any attempt +to decode it into characters. + =head2 $res = request( ... ); Returns an L object. Accepts an optional hashref for request