TWiki::Request
action
action requested (view, edit, save, ...)
cookies
hashref whose keys are cookie names and values are CGI::Cookie objects
headers
hashref whose keys are header name
request_method
request method (GET, HEAD, POST)
param
hashref of parameters, both query and body ones
param_list
arrayref with parameter names in received order
path_info
path_info of request (eg. /WebName/TopciName)
remote_address
Client's IP address
remote_user
Remote HTTP authenticated user
secure
Boolean value about use of encryption
server_port
Port that the webserver listens on
uploads
hashref whose keys are parameter name of uploaded files
uri
the request uri
$initializer
- may be a filehandle or hashref. save
method. Note: Restore only parameters
path_info()
alias for compatibility with CGI.
query_string()
alias provided for compatibility with CGI.
remote_addr()
alias for compatibility with CGI.
remote_user()
alias for compatibility with CGI.
server_port()
alias for compatibility with CGI.
$name
parameter returns value of cookie with that name or undef if it doesn't exist.
Delete()
alias provided for compatibility with CGI
delete_all()
alias provided for compatibility with CGI.
http
method. %ENV is not available and must be replaced
by calls to this and other methods of this class. http
is
provided for compatibility, but is deprecated. Use this one
instead.
Calls to CGI header
method must be replaced by calls to
TWiki::Response header
method.
param()
with form field name.
header()
instead. Present only for compatibility with CGI.
http()
method above. Called with no parameters returns
secure flag.
Please, use header()
and secure()
instead.
Present only for compatibility with CGI.
user_agent()
alias provided for compatibility with CGI.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiRequestDotPm. |