Type:
Class
Constants:
LOCALHOST : Regexp.union [/^127\.0\.0\.\d{1,3}$/, /^::1$/, /^0:0:0:0:0:0:0:1(%.*)?$/]

ENV_METHODS : %w[ AUTH_TYPE GATEWAY_INTERFACE PATH_TRANSLATED REMOTE_HOST REMOTE_IDENT REMOTE_USER REMOTE_ADDR SERVER_NAME SERVER_PROTOCOL HTTP_ACCEPT HTTP_ACCEPT_CHARSET HTTP_ACCEPT_ENCODING HTTP_ACCEPT_LANGUAGE HTTP_CACHE_CONTROL HTTP_FROM HTTP_NEGOTIATE HTTP_PRAGMA ].freeze

RFC2616 : %w(OPTIONS GET HEAD POST PUT DELETE TRACE CONNECT)

List of HTTP request methods from the following RFCs: Hypertext Transfer Protocol â HTTP/1.1 (www.ietf.org/rfc/rfc2616.txt) HTTP Extensions for Distributed Authoring â WEBDAV (www.ietf.org/rfc/rfc2518.txt) Versioning Extensions to WebDAV (www.ietf.org/rfc/rfc3253.txt) Ordered Collections Protocol (WebDAV) (www.ietf.org/rfc/rfc3648.txt) Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol (www.ietf.org/rfc/rfc3744.txt) Web Distributed Authoring and Versioning (WebDAV) SEARCH (www.ietf.org/rfc/rfc5323.txt) PATCH Method for HTTP (www.ietf.org/rfc/rfc5789.txt)

RFC2518 : %w(PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK)
RFC3253 : %w(VERSION-CONTROL REPORT CHECKOUT CHECKIN UNCHECKOUT MKWORKSPACE UPDATE LABEL MERGE BASELINE-CONTROL MKACTIVITY)
RFC3648 : %w(ORDERPATCH)
RFC3744 : %w(ACL)
RFC5323 : %w(SEARCH)
RFC5789 : %w(PATCH)
HTTP_METHODS : RFC2616 + RFC2518 + RFC3253 + RFC3648 + RFC3744 + RFC5323 + RFC5789
HTTP_METHOD_LOOKUP : {}
original_url

original_url() Instance Public methods Returns the original request URL as a

2015-06-20 00:00:00
body

body() Instance Public methods The request body is an IO input stream. If the

2015-06-20 00:00:00
fullpath

fullpath() Instance Public methods Returns the String full path

2015-06-20 00:00:00
method

method() Instance Public methods Returns the original value of the environment's

2015-06-20 00:00:00
query_parameters

query_parameters() Instance Public methods Alias for:

2015-06-20 00:00:00
remote_ip

remote_ip() Instance Public methods Originating IP address, usually set by the

2015-06-20 00:00:00
request_method_symbol

request_method_symbol() Instance Public methods Returns a symbol form of the

2015-06-20 00:00:00
original_fullpath

original_fullpath() Instance Public methods

2015-06-20 00:00:00
media_type

media_type() Instance Public methods The String MIME type of the

2015-06-20 00:00:00
content_length

content_length() Instance Public methods Returns the content length of the request

2015-06-20 00:00:00