Results for: "partition"

As for each_header, except the keys are provided in capitalized form.

Note that header names are capitalized systematically; capitalization may not match that used by the remote HTTP server in its response.

Returns an enumerator if no block is given.

No documentation available

Returns an Integer object which represents the HTTP Content-Length: header field, or nil if that field was not provided.

No documentation available

Returns a Range object which represents the value of the Content-Range: header field. For a partial entity body, this indicates where this fragment fits inside the full entity body, as range of byte offsets.

Returns a content type string such as “text/html”. This method returns nil if Content-Type: header field does not exist.

No documentation available

returns “type/subtype” which is MIME Content-Type. It is downcased for canonicalization. Content-Type parameters are stripped.

Returns a list of encodings in Content-Encoding field as an array of strings.

The encodings are downcased for canonicalization.

No documentation available

Helper method.

UNTESTED

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Creates an unsigned certificate for subject and key. The lifetime of the key is from the current time to age which defaults to one year.

The extensions restrict the key to the indicated uses.

Displays an error statement to the error output location. Asks a question if given.

Returns the description corresponding to the HTTP status code

WEBrick::HTTPStatus.reason_phrase 404
=> "Not Found"

Returns the description corresponding to the HTTP status code

WEBrick::HTTPStatus.reason_phrase 404
=> "Not Found"

Normalizes a request path. Raises an exception if the path cannot be normalized.

Search took: 4ms  ·  Total Results: 2971