Class

WEBrick::HTTPRequest

Inheritance
< Object

Constants

Name   Description
BODY_CONTAINABLE_METHODS = [ "POST", "PUT" ]
BUFSIZE = 1024*4

Attributes

Name Visibility R/W Description
accept public R
accept_charset public R
accept_encoding public R
accept_language public R
addr public R
attributes public R
cipher public R
client_cert public R
cookies public R Header and entity body
header public R Header and entity body
host public R Request-URI
http_version public R
keep_alive public R
path public R Request-URI
path_info public RW
peeraddr public R
port public R Request-URI
query_string public RW
raw_header public R Header and entity body
request_line public R Request line
request_method public R
request_time public R
request_uri public R Request-URI
script_name public RW
server_cert public R
unparsed_uri public R
user public RW Misc

Methods

Class

Visibility Signature
public new (config)

Instance

Visibility Signature
public [] (header_name)
public body (&block)
public content_length ()
public content_type ()
public each () {|k, value.empty? ? nil : value.join(", ")| ...}
public fixup ()
public keep_alive? ()
public meta_vars ()
public meta_vars ()
public orig_meta_vars ()
public orig_parse (socket=nil)
public orig_parse_uri (str, scheme="http")
public parse (socket=nil)
public parse (socket=nil)
public parse_uri (str, scheme="https")
public query ()
public to_s ()

Class Method Detail

new(config)

Instance Method Detail

[](header_name)

body(&block)

content_length()

content_type()

each() {|k, value.empty? ? nil : value.join(", ")| ...}

fixup()

keep_alive?()

meta_vars()

meta_vars()

orig_meta_vars()

Alias for meta_vars

orig_parse(socket=nil)

Alias for parse

orig_parse_uri(str, scheme="http")

Alias for parse_uri

parse(socket=nil)

parse(socket=nil)

parse_uri(str, scheme="https")

query()

to_s()