Software: Apache. PHP/7.3.33 uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) Safe-mode: OFF (not secure) /opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/rdoc/classes/Rack/ drwxr-xr-x |
Viewing file: Select action/file-type:
Rack::Request provides a convenient interface to a Rack environment. It is stateless, the environment env passed to the constructor will be directly modified. req = Rack::Request.new(env) req.post? req.params["data"] Methods
GET
POST
[]
[]=
accept_encoding
accept_language
base_url
body
content_charset
content_length
content_type
cookies
delete?
delete_param
form_data?
fullpath
get?
head?
host
host_with_port
ip
link?
logger
media_type
media_type_params
new
options?
params
parse_http_accept_header
parse_multipart
parse_query
parseable_data?
patch?
path
path_info
path_info=
port
post?
put?
query_string
referer
referrer
reject_trusted_ip_addresses
request_method
scheme
script_name
script_name=
session
session_options
split_ip_addresses
ssl?
trace?
trusted_proxy?
unlink?
update_param
url
user_agent
values_at
xhr?
Constants
Attributes
Public Class methodsPublic Instance methodsReturns the data received in the request body. This method support both application/x-www-form-urlencoded and multipart/form-data. shortcut for request.params[key] = value Note that modifications will not be persisted in the env. Use update_param or delete_param if you want to destructively modify params. The character set of the request body if a "charset" media type parameter was given, or nil if no "charset" was specified. Note that, per RFC2616, text/* media types that specify no explicit charset are to be considered ISO-8859-1. Determine whether the request body contains form-data by checking the request Content-Type for one of the media-types: "application/x-www-form-urlencoded" or "multipart/form-data". The list of form-data media types can be modified through the FORM_DATA_MEDIA_TYPES array. A request body is also assumed to contain form-data when no Content-Type header is provided and the request_method is POST. The media type (type/subtype) portion of the CONTENT_TYPE header without any media type parameters. e.g., when CONTENT_TYPE is "text/plain;charset=utf-8", the media-type is "text/plain". For more information on the use of media types in HTTP, see: www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 The media type parameters provided in CONTENT_TYPE as a Hash, or an empty Hash if no CONTENT_TYPE or media-type parameters were provided. e.g., when the CONTENT_TYPE is "text/plain;charset=utf-8", this method responds with the following Hash: { 'charset' => 'utf-8' } The union of GET and POST data. Note that modifications will not be persisted in the env. Use update_param or delete_param if you want to destructively modify params. Determine whether the request body contains data by checking the request media_type against registered parse-data media-types Protected Instance methods |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0956 ]-- |