X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FRequest.pm;fp=lib%2FCatalyst%2FRequest.pm;h=dce7a052691c6a57be7f123f95b6e0e0b1e907bb;hp=b8d05b4cd2edf9b21a9aac60c2cfacaf4b27379f;hb=58d58feac4a7b9608f797287d3c6849651711119;hpb=4e6e0ab2246dc09edb7e2731547931fa28021829 diff --git a/lib/Catalyst/Request.pm b/lib/Catalyst/Request.pm index b8d05b4..dce7a05 100644 --- a/lib/Catalyst/Request.pm +++ b/lib/Catalyst/Request.pm @@ -640,7 +640,7 @@ defaults to the size of the request if not specified. =head2 $req->read_chunk(\$buff, $max) -Reads a chunk.. +Reads a chunk. You have to set MyApp->config(parse_on_demand => 1) to use this directly. @@ -651,10 +651,12 @@ Shortcut for $req->headers->referer. Returns the referring page. =head2 $req->secure Returns true or false, indicating whether the connection is secure -(https). Note that the URI scheme (e.g., http vs. https) must be determined -through heuristics, and therefore the reliability of $req->secure will depend -on your server configuration. If you are setting the HTTPS environment variable, -$req->secure should be valid. +(https). The reliability of $req->secure may depend on your server +configuration; Catalyst relies on PSGI to determine whether or not a +request is secure (Catalyst looks at psgi.url_scheme), and different +PSGI servers may make this determination in different ways (as by +directly passing along information from the server, interpreting any of +several HTTP headers, or using heuristics of their own). =head2 $req->captures