split_header_value(str) Class Public methods Splits a header value str according to HTTP specification.
quote(str) Class Public methods Quotes and escapes quotes in str
parse_range_header(ranges_specifier) Class Public methods Parses a Range header value ranges_specifier
parse_qvalues(value) Class Public methods Parses q values in value as used in Accept headers.
parse_query(str) Class Public methods Parses the query component of a URI in str
parse_header(raw) Class Public methods Parses an HTTP header raw into a hash of header fields with an Array of values.
parse_form_data(io, boundary) Class Public methods Parses form data in io with the given boundary
normalize_path(path) Class Public methods Normalizes a request path. Raises an exception if the path cannot be normalized.
mime_type(filename, mime_tab) Class Public methods Returns the mime type of filename from the list in mime_tab. If no mime type was found application/octet-stream is returned.
load_mime_types(file) Class Public methods Loads Apache-compatible mime.types in file.
Page 464 of 2275