Document return of C::T::get is bytes not characters, RT#53678
Tomas Doran [Tue, 13 Apr 2010 22:12:13 +0000 (22:12 +0000)]
Changes
lib/Catalyst/Test.pm

diff --git a/Changes b/Changes
index c43f463..aa7f2f5 100644 (file)
--- a/Changes
+++ b/Changes
    - 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:
index f987172..e940be0 100644 (file)
@@ -202,6 +202,9 @@ method and the L<request|/"$res = request( ... );"> 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<HTTP::Response> object. Accepts an optional hashref for request