Specifies the valid IP addresses that are allowed to connect to the server.
Each IP is either a String or a Regexp
.
Return the valid IP addresses that are allowed to connect to the server.
See also, XMLRPC::Server#set_valid_ip
Returns the source encoding name as a string.
Returns the source encoding name as a string.
offline mode. read name=value pairs on standard input.
Iterates through the header names in the header, passing capitalized header names to the code block.
Note that header names are capitalized systematically; capitalization may not match that used by the remote HTTP
server in its response.
Set
Proxy-Authorization: header for “Basic” authorization.
@return the next sibling (nil if unset)
@return the previous sibling (nil if unset)
Set
the entity expansion limit. By default the limit is set to 10000.
Get the entity expansion limit. By default the limit is set to 10000.
This method is used inside of several different objects to determine if special behavior is needed in the constructor.
Special behavior is needed if the array passed in as args
has true
or false
as its value, and if the second element of args
is a hash.
Creates a self-signed certificate with an issuer and subject from email
, a subject alternative name of email
and the given extensions
for the key
.
Allows OptionParser
to handle HTTP URIs.
Add the –source option
Asks the user to answer question
with an answer from the given list
.
Simple wrapper for providing basic authentication for a proxied request. When called with a request req
, response res
, authentication realm
and block
the block will be called with a username
and password
. If the block returns true the request is allowed to continue, otherwise an HTTPStatus::ProxyAuthenticationRequired error is raised.
Splits a header value str
according to HTTP specification.
Splits a header value str
according to HTTP specification.