add a comment explaining why we use bytes
Jonathan Rockway [Sun, 13 Jan 2008 22:07:03 +0000 (22:07 +0000)]
lib/Catalyst.pm

index edca221..96ad9a5 100644 (file)
@@ -1432,6 +1432,7 @@ sub finalize_headers {
             }
         }
         else {
+            # everything should be bytes at this point, but just in case
             $c->response->content_length( bytes::length( $c->response->body ) );
         }
     }