projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
4ec26b6
)
Documentation to ->hostname on how to get the hostname of the server.
Oskari Okko Ojala [Wed, 12 Oct 2011 13:08:49 +0000 (16:08 +0300)]
lib/Catalyst/Request.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Request.pm
b/lib/Catalyst/Request.pm
index
c058daa
..
f974f3f
100644
(file)
--- a/
lib/Catalyst/Request.pm
+++ b/
lib/Catalyst/Request.pm
@@
-316,7
+316,7
@@
Returns an L<HTTP::Headers> object containing the headers for the current reques
=head2 $req->hostname
-Returns the hostname of the client.
+Returns the hostname of the client. Use $req->uri->host to get the hostname of the server.
=head2 $req->input