Module: HTTPUtils (WEBrick)

Overview
Module Structure
Class Hierarchy
Constants
HTTPUtils::DefaultMimeTypes
HTTPUtils::UNESCAPED
HTTPUtils::UNESCAPED_FORM
HTTPUtils::NONASCII
HTTPUtils::ESCAPED
HTTPUtils::UNESCAPED_PCHAR
Module Functions
HTTPUtils.normalize_path / 1
HTTPUtils.load_mime_types / 1
HTTPUtils.mime_type / 2
HTTPUtils.parse_header / 1
HTTPUtils.split_header_value / 1
HTTPUtils.parse_range_header / 1
HTTPUtils.parse_qvalues / 1
HTTPUtils.dequote / 1
HTTPUtils.quote / 1
HTTPUtils.parse_query / 1
HTTPUtils.parse_form_data / 2
HTTPUtils._make_regex / 1
Instance Methods
HTTPUtils#_make_regex! / 1
HTTPUtils#_escape / 2
HTTPUtils#_unescape / 2
HTTPUtils#escape / 1
HTTPUtils#unescape / 1
HTTPUtils#escape_form / 1
HTTPUtils#unescape_form / 1
HTTPUtils#escape_path / 1
HTTPUtils#escape8bit / 1
is a submodule of
module: WEBrick   
is modularized into
class: FormData   
has modular siblings
class: ServerError   
class: SimpleServer   
class: Daemon   
class: GenericServer   
class: HTTPServerError   
class: HTTPServer   
module: HTTPServlet   
class: HTTPRequest   
class: HTTPResponse   
module: HTTPStatus   
class: HTTPVersion   
module: HTTPAuth   
module: Config   
module: Utils   
class: CGI   
class: Cookie   
module: HTMLUtils   
class: HTTPProxyServer   
class: BasicLog   
class: Log   
module: AccessLog   
has properties
function: normalize_path / 1   
constant: DefaultMimeTypes   
function: load_mime_types / 1   
function: mime_type / 2   
function: parse_header / 1   
function: split_header_value / 1   
function: parse_range_header / 1   
function: parse_qvalues / 1   
function: dequote / 1   
function: quote / 1   
function: parse_query / 1   
function: parse_form_data / 2   
function: _make_regex / 1   
method: _make_regex! / 1   
method: _escape / 2   
method: _unescape / 2   
constant: UNESCAPED   
constant: UNESCAPED_FORM   
constant: NONASCII   
constant: ESCAPED   
constant: UNESCAPED_PCHAR   
method: escape / 1   
method: unescape / 1   
method: escape_form / 1   
method: unescape_form / 1   
method: escape_path / 1   
method: escape8bit / 1   
is defined at
#19 in webrick/httputils.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: WEBrick
  class: ServerError
  class: SimpleServer
  class: Daemon
  class: GenericServer
  class: HTTPServerError
  class: HTTPServer
  module: HTTPServlet
  class: HTTPRequest
  class: HTTPResponse
  module: HTTPStatus
✗ module: HTTPUtils
class: FormData     
  class: HTTPVersion
  module: HTTPAuth
  module: Config
  module: Utils
  class: CGI
  class: Cookie
  module: HTMLUtils
  class: HTTPProxyServer
  class: BasicLog
  class: Log
  module: AccessLog

Class Hierarchy

Constants

HTTPUtils::DefaultMimeTypes

#36 in webrick/httputils.rb

DefaultMimeTypes = {   

HTTPUtils::UNESCAPED

#355 in webrick/httputils.rb

UNESCAPED = _make_regex(control+space+delims+unwise+nonascii)   

HTTPUtils::UNESCAPED_FORM

#356 in webrick/httputils.rb

UNESCAPED_FORM = _make_regex(reserved+control+delims+unwise+nonascii)   

HTTPUtils::NONASCII

#357 in webrick/httputils.rb

NONASCII = _make_regex(nonascii)   

HTTPUtils::ESCAPED

#358 in webrick/httputils.rb

ESCAPED = /%([0-9a-fA-F]{2})/   

HTTPUtils::UNESCAPED_PCHAR

#359 in webrick/httputils.rb

UNESCAPED_PCHAR = _make_regex!(unreserved+":@&=+$,")   

Module Functions

HTTPUtils.normalize_path / 1

#21 in webrick/httputils.rb

normalize_path ( path )

HTTPUtils.load_mime_types / 1

#93 in webrick/httputils.rb

load_mime_types ( file )

HTTPUtils.mime_type / 2

#109 in webrick/httputils.rb

mime_type ( filename ,
  mime_tab )

HTTPUtils.parse_header / 1

#118 in webrick/httputils.rb

parse_header ( raw )

HTTPUtils.split_header_value / 1

#148 in webrick/httputils.rb

split_header_value ( str )

HTTPUtils.parse_range_header / 1

#154 in webrick/httputils.rb

parse_range_header ( ranges_specifier )

HTTPUtils.parse_qvalues / 1

#169 in webrick/httputils.rb

parse_qvalues ( value )

HTTPUtils.dequote / 1

#189 in webrick/httputils.rb

dequote ( str )

HTTPUtils.quote / 1

#196 in webrick/httputils.rb

quote ( str )

HTTPUtils.parse_query / 1

#285 in webrick/httputils.rb

parse_query ( str )

HTTPUtils.parse_form_data / 2

#306 in webrick/httputils.rb

parse_form_data ( io ,
  boundary )

HTTPUtils._make_regex / 1

#350 in webrick/httputils.rb

_make_regex ( str )

Instance Methods

HTTPUtils#_make_regex! / 1

#351 in webrick/httputils.rb

_make_regex! ( str )

HTTPUtils#_escape / 2

#352 in webrick/httputils.rb

_escape ( str ,
  regex )

HTTPUtils#_unescape / 2

#353 in webrick/httputils.rb

_unescape ( str ,
  regex )

HTTPUtils#escape / 1

#361 in webrick/httputils.rb

escape ( str )

HTTPUtils#unescape / 1

#365 in webrick/httputils.rb

unescape ( str )

HTTPUtils#escape_form / 1

#369 in webrick/httputils.rb

escape_form ( str )

HTTPUtils#unescape_form / 1

#375 in webrick/httputils.rb

unescape_form ( str )

HTTPUtils#escape_path / 1

#379 in webrick/httputils.rb

escape_path ( str )

HTTPUtils#escape8bit / 1

#387 in webrick/httputils.rb

escape8bit ( str )