X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=a2555432ff61719f1cd36d6cb5c8bbc98970f8c7;hp=738149bc0e88c34fd9d8f1c804b0bf16dfe6d546;hb=566678d0245e49d7f2f1abce553b5bdb87879086;hpb=4373973ab65fd23bf7b334a444aba1d526a6f297 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 738149b..a255543 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -592,7 +592,7 @@ sub last_error { my ($err, @errs) = @{shift->error}; return $err } =head2 shift_errors shifts the most recently added error off the error stack and returns if. Returns -nothing if there are nomore errors. +nothing if there are no more errors. =cut @@ -2105,7 +2105,7 @@ sub finalize_headers { =head2 $c->finalize_encoding Make sure your body is encoded properly IF you set an encoding. By -default the encoding is UTF-8 but you can disable it by explictly setting the +default the encoding is UTF-8 but you can disable it by explicitly setting the encoding configuration value to undef. We can only encode when the body is a scalar. Methods for encoding via the @@ -3038,7 +3038,7 @@ $ENV{SCRIPT_NAME}. Please B that if you do use C the middleware is now adding via C rather than this method. -If you are using Lighttp or IIS6 you may wish to apply these middlewares. In +If you are using Lighttpd or IIS6 you may wish to apply these middlewares. In general this is no longer a common case but we have this here for backward compatibility. @@ -3107,7 +3107,7 @@ with a generated server script (via L and C) we do not attempt to return a valid L application using any existing C<${myapp}.psgi> scripts in your $HOME directory. -B C was orginally created when the first PSGI +B C was originally created when the first PSGI port was done for v5.90000. These are middlewares that are added to achieve backward compatibility with older applications. If you start your application using one of the supplied server scripts (generated with L and @@ -4207,7 +4207,7 @@ manually as well such as to conform to the JSON specification. NOTE: We also examine the value of $c->response->content_encoding. If you set this (like for example 'gzip', and manually gzipping the body) -we assume that you have done all the neccessary encoding yourself, since +we assume that you have done all the necessary encoding yourself, since we cannot encode the gzipped contents. If you use a plugin like L you need to update to a modern version in order to have this function correctly with the new UTF8 encoding code, or you