X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FResponse.pm;h=e99cd85cc880b76e1a668c7c56d7b635ec46e5a4;hb=b2ddf6d7e1ea8f9b281ce5da27ecadf3152e151d;hp=ff463981af53cba375725b0124f541d6ff004763;hpb=b5ecfcf07b8ffe7e9984f0279c8781ce51c6ac6a;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Response.pm b/lib/Catalyst/Response.pm index ff46398..e99cd85 100644 --- a/lib/Catalyst/Response.pm +++ b/lib/Catalyst/Response.pm @@ -56,6 +56,10 @@ Shortcut for $res->headers->content_length. Shortcut for $res->headers->content_type. +This value is typically set by your view or plugin. For example, +L will guess the mime type based on the file +it found, while L defaults to C. + =head2 $res->cookies Returns a reference to a hash containing cookies to be set. The keys of the @@ -68,15 +72,19 @@ The keys of the hash reference on the right correspond to the L parameters of the same name, except they are used without a leading dash. Possible parameters are: -=head2 value +=over + +=item value + +=item expires -=head2 expires +=item domain -=head2 domain +=item path -=head2 path +=item secure -=head2 secure +=back =head2 $res->header