Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

all we need are the beams from mochiweb

  • Loading branch information...
commit 7c611df42b81851594c7f52561e458b9b97746e1 1 parent 334d872
@abhay abhay authored
Showing with 2 additions and 8,480 deletions.
  1. +0 −9 deps/mochiweb/LICENSE
  2. +0 −8 deps/mochiweb/Makefile
  3. +0 −1  deps/mochiweb/README
  4. +0 −124 deps/mochiweb/doc/mochifmt.html
  5. +0 −45 deps/mochiweb/doc/mochifmt_records.html
  6. +0 −63 deps/mochiweb/doc/mochifmt_std.html
  7. +0 −73 deps/mochiweb/doc/mochihex.html
  8. +0 −155 deps/mochiweb/doc/mochijson.html
  9. +0 −89 deps/mochiweb/doc/mochijson2.html
  10. +0 −74 deps/mochiweb/doc/mochinum.html
  11. +0 −75 deps/mochiweb/doc/mochiweb.html
  12. +0 −40 deps/mochiweb/doc/mochiweb_app.html
  13. +0 −43 deps/mochiweb/doc/mochiweb_charref.html
  14. +0 −65 deps/mochiweb/doc/mochiweb_cookies.html
  15. +0 −45 deps/mochiweb/doc/mochiweb_echo.html
  16. +0 −129 deps/mochiweb/doc/mochiweb_headers.html
  17. +0 −115 deps/mochiweb/doc/mochiweb_html.html
  18. +0 −63 deps/mochiweb/doc/mochiweb_http.html
  19. +0 −38 deps/mochiweb/doc/mochiweb_jsonrpc.html
  20. +0 −51 deps/mochiweb/doc/mochiweb_multipart.html
  21. +0 −230 deps/mochiweb/doc/mochiweb_request.html
  22. +0 −66 deps/mochiweb/doc/mochiweb_response.html
  23. +0 −30 deps/mochiweb/doc/mochiweb_skel.html
  24. +0 −88 deps/mochiweb/doc/mochiweb_socket_server.html
  25. +0 −48 deps/mochiweb/doc/mochiweb_sup.html
  26. +0 −175 deps/mochiweb/doc/mochiweb_util.html
  27. +0 −84 deps/mochiweb/doc/reloader.html
  28. +0 −29 deps/mochiweb/ebin/mochiweb.app
  29. BIN  deps/mochiweb/{ebin → }/mochifmt.beam
  30. BIN  deps/mochiweb/{ebin → }/mochifmt_records.beam
  31. BIN  deps/mochiweb/{ebin → }/mochifmt_std.beam
  32. BIN  deps/mochiweb/{ebin → }/mochihex.beam
  33. BIN  deps/mochiweb/{ebin → }/mochijson.beam
  34. BIN  deps/mochiweb/{ebin → }/mochijson2.beam
  35. BIN  deps/mochiweb/{ebin → }/mochinum.beam
  36. BIN  deps/mochiweb/{ebin → }/mochiweb.beam
  37. BIN  deps/mochiweb/{ebin → }/mochiweb_app.beam
  38. BIN  deps/mochiweb/{ebin → }/mochiweb_charref.beam
  39. BIN  deps/mochiweb/{ebin → }/mochiweb_cookies.beam
  40. BIN  deps/mochiweb/{ebin → }/mochiweb_echo.beam
  41. BIN  deps/mochiweb/{ebin → }/mochiweb_headers.beam
  42. BIN  deps/mochiweb/{ebin → }/mochiweb_html.beam
  43. BIN  deps/mochiweb/{ebin → }/mochiweb_http.beam
  44. BIN  deps/mochiweb/{ebin → }/mochiweb_multipart.beam
  45. BIN  deps/mochiweb/{ebin → }/mochiweb_request.beam
  46. BIN  deps/mochiweb/{ebin → }/mochiweb_response.beam
  47. BIN  deps/mochiweb/{ebin → }/mochiweb_skel.beam
  48. BIN  deps/mochiweb/{ebin → }/mochiweb_socket_server.beam
  49. BIN  deps/mochiweb/{ebin → }/mochiweb_sup.beam
  50. BIN  deps/mochiweb/{ebin → }/mochiweb_util.beam
  51. +0 −5 deps/mochiweb/priv/skel/Makefile
  52. +0 −8 deps/mochiweb/priv/skel/conf/skel.config
  53. +0 −8 deps/mochiweb/priv/skel/priv/www/index.html
  54. +0 −9 deps/mochiweb/priv/skel/src/Makefile
  55. +0 −14 deps/mochiweb/priv/skel/src/skel.app
  56. +0 −30 deps/mochiweb/priv/skel/src/skel.erl
  57. +0 −1  deps/mochiweb/priv/skel/src/skel.hrl
  58. +0 −22 deps/mochiweb/priv/skel/src/skel_app.erl
  59. +0 −84 deps/mochiweb/priv/skel/src/skel_deps.erl
  60. +0 −54 deps/mochiweb/priv/skel/src/skel_sup.erl
  61. +0 −43 deps/mochiweb/priv/skel/src/skel_web.erl
  62. +0 −3  deps/mochiweb/priv/skel/start-dev.sh
  63. +0 −3  deps/mochiweb/priv/skel/start.sh
  64. +0 −46 deps/mochiweb/priv/skel/support/include.mk
  65. BIN  deps/mochiweb/{ebin → }/reloader.beam
  66. +0 −27 deps/mochiweb/scripts/new_mochiweb.erl
  67. +0 −12 deps/mochiweb/src/Makefile
  68. +0 −426 deps/mochiweb/src/mochifmt.erl
  69. +0 −30 deps/mochiweb/src/mochifmt_records.erl
  70. +0 −23 deps/mochiweb/src/mochifmt_std.erl
  71. +0 −75 deps/mochiweb/src/mochihex.erl
  72. +0 −529 deps/mochiweb/src/mochijson.erl
  73. +0 −509 deps/mochiweb/src/mochijson2.erl
  74. +0 −289 deps/mochiweb/src/mochinum.erl
  75. +0 −29 deps/mochiweb/src/mochiweb.app
  76. +0 −110 deps/mochiweb/src/mochiweb.erl
  77. +0 −20 deps/mochiweb/src/mochiweb_app.erl
  78. +0 −295 deps/mochiweb/src/mochiweb_charref.erl
  79. +0 −250 deps/mochiweb/src/mochiweb_cookies.erl
  80. +0 −31 deps/mochiweb/src/mochiweb_echo.erl
  81. +0 −178 deps/mochiweb/src/mochiweb_headers.erl
  82. +0 −835 deps/mochiweb/src/mochiweb_html.erl
  83. +0 −132 deps/mochiweb/src/mochiweb_http.erl
  84. +0 −429 deps/mochiweb/src/mochiweb_multipart.erl
  85. +0 −723 deps/mochiweb/src/mochiweb_request.erl
  86. +0 −57 deps/mochiweb/src/mochiweb_response.erl
  87. +0 −71 deps/mochiweb/src/mochiweb_skel.erl
  88. +0 −235 deps/mochiweb/src/mochiweb_socket_server.erl
  89. +0 −34 deps/mochiweb/src/mochiweb_sup.erl
  90. +0 −574 deps/mochiweb/src/mochiweb_util.erl
  91. +0 −124 deps/mochiweb/src/reloader.erl
  92. +0 −46 deps/mochiweb/support/include.mk
  93. +1 −1  start-dev.sh
  94. +1 −1  start.sh
View
9 deps/mochiweb/LICENSE
@@ -1,9 +0,0 @@
-This is the MIT license.
-
-Copyright (c) 2007 Mochi Media, Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
8 deps/mochiweb/Makefile
@@ -1,8 +0,0 @@
-all:
- (cd src;$(MAKE))
-
-test:
- (cd src;$(MAKE) test)
-
-clean:
- (cd src;$(MAKE) clean)
View
1  deps/mochiweb/README
@@ -1 +0,0 @@
-MochiWeb is an Erlang library for building lightweight HTTP servers.
View
124 deps/mochiweb/doc/mochifmt.html
@@ -1,124 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochifmt</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochifmt</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>String Formatting for Erlang, inspired by Python 2.6
- (<a href="http://www.python.org/dev/peps/pep-3101/">PEP 3101</a>).
-<p>Copyright © 2008 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>String Formatting for Erlang, inspired by Python 2.6
- (<a href="http://www.python.org/dev/peps/pep-3101/">PEP 3101</a>).
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#bformat-2">bformat/2</a></td><td>Format Args with Format and return a binary().</td></tr>
-<tr><td valign="top"><a href="#bformat-3">bformat/3</a></td><td>Format Args with Format using Module and return a binary().</td></tr>
-<tr><td valign="top"><a href="#convert_field-2">convert_field/2</a></td><td>Process Arg according to the given explicit conversion specifier.</td></tr>
-<tr><td valign="top"><a href="#f-2">f/2</a></td><td>Format Args with Format and return a string().</td></tr>
-<tr><td valign="top"><a href="#f-3">f/3</a></td><td>Format Args with Format using Module and return a string().</td></tr>
-<tr><td valign="top"><a href="#format-2">format/2</a></td><td>Format Args with Format.</td></tr>
-<tr><td valign="top"><a href="#format-3">format/3</a></td><td>Format Args with Format using Module.</td></tr>
-<tr><td valign="top"><a href="#format_field-2">format_field/2</a></td><td>Format Arg with Format.</td></tr>
-<tr><td valign="top"><a href="#format_field-3">format_field/3</a></td><td>Format Arg with Format.</td></tr>
-<tr><td valign="top"><a href="#get_field-2">get_field/2</a></td><td>Consecutively call get_value/2 on parts of Key delimited by ".",
- replacing Args with the result of the previous get_value.</td></tr>
-<tr><td valign="top"><a href="#get_field-3">get_field/3</a></td><td>Consecutively call Module:get_value/2 on parts of Key delimited by ".",
- replacing Args with the result of the previous get_value.</td></tr>
-<tr><td valign="top"><a href="#get_value-2">get_value/2</a></td><td>Get the Key from Args.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td>Run tests.</td></tr>
-<tr><td valign="top"><a href="#tokenize-1">tokenize/1</a></td><td>Tokenize a format string into mochifmt's internal format.</td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="bformat-2">bformat/2</a></h3>
-<div class="spec">
-<p><tt>bformat(Format::string(), Args) -&gt; binary()</tt></p>
-</div><p>Format Args with Format and return a binary().</p>
-
-<h3 class="function"><a name="bformat-3">bformat/3</a></h3>
-<div class="spec">
-<p><tt>bformat(Format::string(), Args, Module) -&gt; binary()</tt></p>
-</div><p>Format Args with Format using Module and return a binary().</p>
-
-<h3 class="function"><a name="convert_field-2">convert_field/2</a></h3>
-<div class="spec">
-<p><tt>convert_field(Arg, Conversion::<a href="#type-conversion">conversion()</a>) -&gt; term()</tt></p>
-</div><p>Process Arg according to the given explicit conversion specifier.</p>
-
-<h3 class="function"><a name="f-2">f/2</a></h3>
-<div class="spec">
-<p><tt>f(Format::string(), Args) -&gt; string()</tt></p>
-</div><p>Format Args with Format and return a string().</p>
-
-<h3 class="function"><a name="f-3">f/3</a></h3>
-<div class="spec">
-<p><tt>f(Format::string(), Args, Module) -&gt; string()</tt></p>
-</div><p>Format Args with Format using Module and return a string().</p>
-
-<h3 class="function"><a name="format-2">format/2</a></h3>
-<div class="spec">
-<p><tt>format(Format::string(), Args) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Format Args with Format.</p>
-
-<h3 class="function"><a name="format-3">format/3</a></h3>
-<div class="spec">
-<p><tt>format(Format::string(), Args, Module) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Format Args with Format using Module.</p>
-
-<h3 class="function"><a name="format_field-2">format_field/2</a></h3>
-<div class="spec">
-<p><tt>format_field(Arg, Format) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Format Arg with Format.</p>
-
-<h3 class="function"><a name="format_field-3">format_field/3</a></h3>
-<div class="spec">
-<p><tt>format_field(Arg, Format, Module::_Module) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Format Arg with Format.</p>
-
-<h3 class="function"><a name="get_field-2">get_field/2</a></h3>
-<div class="spec">
-<p><tt>get_field(Key::string(), Args) -&gt; term()</tt></p>
-</div><p>Consecutively call get_value/2 on parts of Key delimited by ".",
- replacing Args with the result of the previous get_value. This
- is used to implement formats such as {0.0}.</p>
-
-<h3 class="function"><a name="get_field-3">get_field/3</a></h3>
-<div class="spec">
-<p><tt>get_field(Key::string(), Args, Module) -&gt; term()</tt></p>
-</div><p>Consecutively call Module:get_value/2 on parts of Key delimited by ".",
- replacing Args with the result of the previous get_value. This
- is used to implement formats such as {0.0}.</p>
-
-<h3 class="function"><a name="get_value-2">get_value/2</a></h3>
-<div class="spec">
-<p><tt>get_value(Key::string(), Args::<a href="#type-args">args()</a>) -&gt; term()</tt></p>
-</div><p>Get the Key from Args. If Args is a tuple then convert Key to
- an integer and get element(1 + Key, Args). If Args is a list and Key
- can be parsed as an integer then use lists:nth(1 + Key, Args),
- otherwise try and look for Key in Args as a proplist, converting
- Key to an atom or binary if necessary.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; ok</tt></p>
-</div><p>Run tests.</p>
-
-<h3 class="function"><a name="tokenize-1">tokenize/1</a></h3>
-<div class="spec">
-<p><tt>tokenize(S::string()) -&gt; <a href="#type-tokens">tokens()</a></tt></p>
-</div><p>Tokenize a format string into mochifmt's internal format.</p>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:39.</i></p>
-</body>
-</html>
View
45 deps/mochiweb/doc/mochifmt_records.html
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochifmt_records(Recs)</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochifmt_records(Recs)</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Formatter that understands records.
-<p>Copyright © 2008 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2><p>Formatter that understands records.</p>
-
- <p>Usage:</p>
-
- 1&gt; M = mochifmt_records:new([{rec, record_info(fields, rec)}]),
- M:format("{0.bar}", [#rec{bar=foo}]).
- foo
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#get_value-2">get_value/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#new-1">new/1</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="get_value-2">get_value/2</a></h3>
-<div class="spec">
-<p><tt>get_value() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="new-1">new/1</a></h3>
-<div class="spec">
-<p><tt>new() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:40.</i></p>
-</body>
-</html>
View
63 deps/mochiweb/doc/mochifmt_std.html
@@ -1,63 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochifmt_std()</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochifmt_std()</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Template module for a mochifmt formatter.
-<p>Copyright © 2008 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Template module for a mochifmt formatter.
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#convert_field-2">convert_field/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#format-2">format/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#format_field-2">format_field/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#get_field-2">get_field/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#get_value-2">get_value/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#new-0">new/0</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="convert_field-2">convert_field/2</a></h3>
-<div class="spec">
-<p><tt>convert_field() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="format-2">format/2</a></h3>
-<div class="spec">
-<p><tt>format() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="format_field-2">format_field/2</a></h3>
-<div class="spec">
-<p><tt>format_field() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="get_field-2">get_field/2</a></h3>
-<div class="spec">
-<p><tt>get_field() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="get_value-2">get_value/2</a></h3>
-<div class="spec">
-<p><tt>get_value() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="new-0">new/0</a></h3>
-<div class="spec">
-<p><tt>new() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:41.</i></p>
-</body>
-</html>
View
73 deps/mochiweb/doc/mochihex.html
@@ -1,73 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochihex</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochihex</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#types">Data Types</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Utilities for working with hexadecimal strings.
-<p>Copyright © 2006 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Utilities for working with hexadecimal strings.
-<h2><a name="types">Data Types</a></h2>
-
-<h3 class="typedecl"><a name="type-iodata">iodata()</a></h3>
-<p><tt>iodata() = <a href="#type-iolist">iolist()</a> | binary()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-iolist">iolist()</a></h3>
-<p><tt>iolist() = [char() | binary() | <a href="#type-iolist">iolist()</a>]</tt></p>
-
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#dehex-1">dehex/1</a></td><td>Convert a hex digit to its integer value.</td></tr>
-<tr><td valign="top"><a href="#hexdigit-1">hexdigit/1</a></td><td>Convert an integer less than 16 to a hex digit.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td>Test this module.</td></tr>
-<tr><td valign="top"><a href="#to_bin-1">to_bin/1</a></td><td>Convert a hexadecimal string to a binary.</td></tr>
-<tr><td valign="top"><a href="#to_hex-1">to_hex/1</a></td><td>Convert an iolist to a hexadecimal string.</td></tr>
-<tr><td valign="top"><a href="#to_int-1">to_int/1</a></td><td>Convert a hexadecimal string to an integer.</td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="dehex-1">dehex/1</a></h3>
-<div class="spec">
-<p><tt>dehex(C::char()) -&gt; integer()</tt></p>
-</div><p>Convert a hex digit to its integer value.</p>
-
-<h3 class="function"><a name="hexdigit-1">hexdigit/1</a></h3>
-<div class="spec">
-<p><tt>hexdigit(C::integer()) -&gt; char()</tt></p>
-</div><p>Convert an integer less than 16 to a hex digit.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; ok</tt></p>
-</div><p>Test this module.</p>
-
-<h3 class="function"><a name="to_bin-1">to_bin/1</a></h3>
-<div class="spec">
-<p><tt>to_bin(L::string()) -&gt; binary()</tt></p>
-</div><p>Convert a hexadecimal string to a binary.</p>
-
-<h3 class="function"><a name="to_hex-1">to_hex/1</a></h3>
-<div class="spec">
-<p><tt>to_hex(I::integer | <a href="#type-iolist">iolist()</a>) -&gt; string()</tt></p>
-</div><p>Convert an iolist to a hexadecimal string.</p>
-
-<h3 class="function"><a name="to_int-1">to_int/1</a></h3>
-<div class="spec">
-<p><tt>to_int(L::string()) -&gt; integer()</tt></p>
-</div><p>Convert a hexadecimal string to an integer.</p>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:42.</i></p>
-</body>
-</html>
View
155 deps/mochiweb/doc/mochijson.html
@@ -1,155 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochijson</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochijson</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#types">Data Types</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Yet another JSON (RFC 4627) library for Erlang.
-<p>Copyright © 2006 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Yet another JSON (RFC 4627) library for Erlang.
-<h2><a name="types">Data Types</a></h2>
-
-<h3 class="typedecl"><a name="type-binary_decoder_option">binary_decoder_option()</a></h3>
-<p><tt>binary_decoder_option() = {object_hook, function()}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-binary_encoder_option">binary_encoder_option()</a></h3>
-<p><tt>binary_encoder_option() = {handler, function()}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-bjson_array">bjson_array()</a></h3>
-<p><tt>bjson_array() = [<a href="#type-bjson_term">bjson_term()</a>]</tt></p>
-
-
-<h3 class="typedecl"><a name="type-bjson_number">bjson_number()</a></h3>
-<p><tt>bjson_number() = integer() | float()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-bjson_object">bjson_object()</a></h3>
-<p><tt>bjson_object() = {struct, [{<a href="#type-bjson_string">bjson_string()</a>, <a href="#type-bjson_term">bjson_term()</a>}]}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-bjson_string">bjson_string()</a></h3>
-<p><tt>bjson_string() = binary()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-bjson_term">bjson_term()</a></h3>
-<p><tt>bjson_term() = <a href="#type-bjson_string">bjson_string()</a> | <a href="#type-bjson_number">bjson_number()</a> | <a href="#type-bjson_array">bjson_array()</a> | <a href="#type-bjson_object">bjson_object()</a></tt></p>
-
-
-<h3 class="typedecl"><a name="type-decoder_option">decoder_option()</a></h3>
-<p><tt>decoder_option() = {input_encoding, <a href="#type-encoding">encoding()</a>} | {object_hook, function()}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-encoder_option">encoder_option()</a></h3>
-<p><tt>encoder_option() = {input_encoding, <a href="#type-encoding">encoding()</a>} | {handler, function()}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-encoding">encoding()</a></h3>
-<p><tt>encoding() = utf8 | unicode</tt></p>
-
-
-<h3 class="typedecl"><a name="type-iodata">iodata()</a></h3>
-<p><tt>iodata() = <a href="#type-iolist">iolist()</a> | binary()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-iolist">iolist()</a></h3>
-<p><tt>iolist() = [char() | binary() | <a href="#type-iolist">iolist()</a>]</tt></p>
-
-
-<h3 class="typedecl"><a name="type-json_array">json_array()</a></h3>
-<p><tt>json_array() = {array, [<a href="#type-json_term">json_term()</a>]}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-json_number">json_number()</a></h3>
-<p><tt>json_number() = integer() | float()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-json_object">json_object()</a></h3>
-<p><tt>json_object() = {struct, [{<a href="#type-json_string">json_string()</a>, <a href="#type-json_term">json_term()</a>}]}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-json_string">json_string()</a></h3>
-<p><tt>json_string() = atom | string() | binary()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-json_term">json_term()</a></h3>
-<p><tt>json_term() = <a href="#type-json_string">json_string()</a> | <a href="#type-json_number">json_number()</a> | <a href="#type-json_array">json_array()</a> | <a href="#type-json_object">json_object()</a></tt></p>
-
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#binary_decode-1">binary_decode/1</a></td><td>Decode the given iolist to Erlang terms, using lists for arrays and
- binaries for strings.</td></tr>
-<tr><td valign="top"><a href="#binary_decoder-1">binary_decoder/1</a></td><td>Create a binary_decoder/1 with the given options.</td></tr>
-<tr><td valign="top"><a href="#binary_encode-1">binary_encode/1</a></td><td>Encode the given as JSON to an iolist, using lists for arrays and
- binaries for strings.</td></tr>
-<tr><td valign="top"><a href="#binary_encoder-1">binary_encoder/1</a></td><td>Create a binary_encoder/1 with the given options.</td></tr>
-<tr><td valign="top"><a href="#decode-1">decode/1</a></td><td>Decode the given iolist to Erlang terms.</td></tr>
-<tr><td valign="top"><a href="#decoder-1">decoder/1</a></td><td>Create a decoder/1 with the given options.</td></tr>
-<tr><td valign="top"><a href="#encode-1">encode/1</a></td><td>Encode the given as JSON to an iolist.</td></tr>
-<tr><td valign="top"><a href="#encoder-1">encoder/1</a></td><td>Create an encoder/1 with the given options.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="binary_decode-1">binary_decode/1</a></h3>
-<div class="spec">
-<p><tt>binary_decode(S::<a href="#type-iolist">iolist()</a>) -&gt; <a href="#type-bjson_term">bjson_term()</a></tt></p>
-</div><p>Decode the given iolist to Erlang terms, using lists for arrays and
- binaries for strings.</p>
-
-<h3 class="function"><a name="binary_decoder-1">binary_decoder/1</a></h3>
-<div class="spec">
-<p><tt>binary_decoder(Options::[<a href="#type-binary_decoder_option">binary_decoder_option()</a>]) -&gt; function()</tt></p>
-</div><p>Create a binary_decoder/1 with the given options.</p>
-
-<h3 class="function"><a name="binary_encode-1">binary_encode/1</a></h3>
-<div class="spec">
-<p><tt>binary_encode(Any::<a href="#type-bjson_term">bjson_term()</a>) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Encode the given as JSON to an iolist, using lists for arrays and
- binaries for strings.</p>
-
-<h3 class="function"><a name="binary_encoder-1">binary_encoder/1</a></h3>
-<div class="spec">
-<p><tt>binary_encoder(Options::[<a href="#type-binary_encoder_option">binary_encoder_option()</a>]) -&gt; function()</tt></p>
-</div><p>Create a binary_encoder/1 with the given options.</p>
-
-<h3 class="function"><a name="decode-1">decode/1</a></h3>
-<div class="spec">
-<p><tt>decode(S::<a href="#type-iolist">iolist()</a>) -&gt; <a href="#type-json_term">json_term()</a></tt></p>
-</div><p>Decode the given iolist to Erlang terms.</p>
-
-<h3 class="function"><a name="decoder-1">decoder/1</a></h3>
-<div class="spec">
-<p><tt>decoder(Options::[<a href="#type-decoder_option">decoder_option()</a>]) -&gt; function()</tt></p>
-</div><p>Create a decoder/1 with the given options.</p>
-
-<h3 class="function"><a name="encode-1">encode/1</a></h3>
-<div class="spec">
-<p><tt>encode(Any::<a href="#type-json_term">json_term()</a>) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Encode the given as JSON to an iolist.</p>
-
-<h3 class="function"><a name="encoder-1">encoder/1</a></h3>
-<div class="spec">
-<p><tt>encoder(Options::[<a href="#type-encoder_option">encoder_option()</a>]) -&gt; function()</tt></p>
-</div><p>Create an encoder/1 with the given options.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:44.</i></p>
-</body>
-</html>
View
89 deps/mochiweb/doc/mochijson2.html
@@ -1,89 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochijson2</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochijson2</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#types">Data Types</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Yet another JSON (RFC 4627) library for Erlang.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Yet another JSON (RFC 4627) library for Erlang. mochijson2 works
- with binaries as strings, arrays as lists (without an {array, _})
- wrapper and it only knows how to decode UTF-8 (and ASCII).
-<h2><a name="types">Data Types</a></h2>
-
-<h3 class="typedecl"><a name="type-iodata">iodata()</a></h3>
-<p><tt>iodata() = <a href="#type-iolist">iolist()</a> | binary()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-iolist">iolist()</a></h3>
-<p><tt>iolist() = [char() | binary() | <a href="#type-iolist">iolist()</a>]</tt></p>
-
-
-<h3 class="typedecl"><a name="type-json_array">json_array()</a></h3>
-<p><tt>json_array() = [<a href="#type-json_term">json_term()</a>]</tt></p>
-
-
-<h3 class="typedecl"><a name="type-json_number">json_number()</a></h3>
-<p><tt>json_number() = integer() | float()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-json_object">json_object()</a></h3>
-<p><tt>json_object() = {struct, [{<a href="#type-json_string">json_string()</a>, <a href="#type-json_term">json_term()</a>}]}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-json_string">json_string()</a></h3>
-<p><tt>json_string() = atom | binary()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-json_term">json_term()</a></h3>
-<p><tt>json_term() = <a href="#type-json_string">json_string()</a> | <a href="#type-json_number">json_number()</a> | <a href="#type-json_array">json_array()</a> | <a href="#type-json_object">json_object()</a></tt></p>
-
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#decode-1">decode/1</a></td><td>Decode the given iolist to Erlang terms.</td></tr>
-<tr><td valign="top"><a href="#decoder-1">decoder/1</a></td><td>Create a decoder/1 with the given options.</td></tr>
-<tr><td valign="top"><a href="#encode-1">encode/1</a></td><td>Encode the given as JSON to an iolist.</td></tr>
-<tr><td valign="top"><a href="#encoder-1">encoder/1</a></td><td>Create an encoder/1 with the given options.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="decode-1">decode/1</a></h3>
-<div class="spec">
-<p><tt>decode(S::<a href="#type-iolist">iolist()</a>) -&gt; <a href="#type-json_term">json_term()</a></tt></p>
-</div><p>Decode the given iolist to Erlang terms.</p>
-
-<h3 class="function"><a name="decoder-1">decoder/1</a></h3>
-<div class="spec">
-<p><tt>decoder(Options::[<a href="#type-decoder_option">decoder_option()</a>]) -&gt; function()</tt></p>
-</div><p>Create a decoder/1 with the given options.</p>
-
-<h3 class="function"><a name="encode-1">encode/1</a></h3>
-<div class="spec">
-<p><tt>encode(Any::<a href="#type-json_term">json_term()</a>) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Encode the given as JSON to an iolist.</p>
-
-<h3 class="function"><a name="encoder-1">encoder/1</a></h3>
-<div class="spec">
-<p><tt>encoder(Options::[<a href="#type-encoder_option">encoder_option()</a>]) -&gt; function()</tt></p>
-</div><p>Create an encoder/1 with the given options.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:45.</i></p>
-</body>
-</html>
View
74 deps/mochiweb/doc/mochinum.html
@@ -1,74 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochinum</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochinum</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Useful numeric algorithms for floats that cover some deficiencies
- in the math module.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Useful numeric algorithms for floats that cover some deficiencies
- in the math module. More interesting is digits/1, which implements
- the algorithm from:
- http://www.cs.indiana.edu/~burger/fp/index.html
- See also "Printing Floating-Point Numbers Quickly and Accurately"
- in Proceedings of the SIGPLAN '96 Conference on Programming Language
- Design and Implementation.
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#digits-1">digits/1</a></td><td> Returns a string that accurately represents the given integer or float
- using a conservative amount of digits.</td></tr>
-<tr><td valign="top"><a href="#frexp-1">frexp/1</a></td><td> Return the fractional and exponent part of an IEEE 754 double,
- equivalent to the libc function of the same name.</td></tr>
-<tr><td valign="top"><a href="#int_ceil-1">int_ceil/1</a></td><td> Return the ceiling of F as an integer.</td></tr>
-<tr><td valign="top"><a href="#int_pow-2">int_pow/2</a></td><td> Moderately efficient way to exponentiate integers.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="digits-1">digits/1</a></h3>
-<div class="spec">
-<p><tt>digits(N::number()) -&gt; string()</tt></p>
-</div><p> Returns a string that accurately represents the given integer or float
- using a conservative amount of digits. Great for generating
- human-readable output, or compact ASCII serializations for floats.</p>
-
-<h3 class="function"><a name="frexp-1">frexp/1</a></h3>
-<div class="spec">
-<p><tt>frexp(F::float()) -&gt; {Frac::float(), Exp::float()}</tt></p>
-</div><p> Return the fractional and exponent part of an IEEE 754 double,
- equivalent to the libc function of the same name.
- F = Frac * pow(2, Exp).</p>
-
-<h3 class="function"><a name="int_ceil-1">int_ceil/1</a></h3>
-<div class="spec">
-<p><tt>int_ceil(F::float()) -&gt; integer()</tt></p>
-</div><p> Return the ceiling of F as an integer. The ceiling is defined as
- F when F == trunc(F);
- trunc(F) when F &lt; 0;
- trunc(F) + 1 when F &gt; 0.</p>
-
-<h3 class="function"><a name="int_pow-2">int_pow/2</a></h3>
-<div class="spec">
-<p><tt>int_pow(X::integer(), N::integer()) -&gt; Y::integer()</tt></p>
-</div><p> Moderately efficient way to exponentiate integers.
- int_pow(10, 2) = 100.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:46.</i></p>
-</body>
-</html>
View
75 deps/mochiweb/doc/mochiweb.html
@@ -1,75 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Start and stop the MochiWeb server.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Start and stop the MochiWeb server.
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#all_loaded-0">all_loaded/0</a></td><td></td></tr>
-<tr><td valign="top"><a href="#all_loaded-1">all_loaded/1</a></td><td></td></tr>
-<tr><td valign="top"><a href="#new_request-1">new_request/1</a></td><td>Return a mochiweb_request data structure.</td></tr>
-<tr><td valign="top"><a href="#new_response-1">new_response/1</a></td><td>Return a mochiweb_response data structure.</td></tr>
-<tr><td valign="top"><a href="#reload-0">reload/0</a></td><td></td></tr>
-<tr><td valign="top"><a href="#start-0">start/0</a></td><td>Start the MochiWeb server.</td></tr>
-<tr><td valign="top"><a href="#stop-0">stop/0</a></td><td>Stop the MochiWeb server.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td>Run all of the tests for MochiWeb.</td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="all_loaded-0">all_loaded/0</a></h3>
-<div class="spec">
-<p><tt>all_loaded() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="all_loaded-1">all_loaded/1</a></h3>
-<div class="spec">
-<p><tt>all_loaded() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="new_request-1">new_request/1</a></h3>
-<div class="spec">
-<p><tt>new_request(X1::{Socket, Request, Headers}) -&gt; MochiWebRequest</tt></p>
-</div><p>Return a mochiweb_request data structure.</p>
-
-<h3 class="function"><a name="new_response-1">new_response/1</a></h3>
-<div class="spec">
-<p><tt>new_response(X1::{Request, integer(), Headers}) -&gt; MochiWebResponse</tt></p>
-</div><p>Return a mochiweb_response data structure.</p>
-
-<h3 class="function"><a name="reload-0">reload/0</a></h3>
-<div class="spec">
-<p><tt>reload() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="start-0">start/0</a></h3>
-<div class="spec">
-<p><tt>start() -&gt; ok</tt></p>
-</div><p>Start the MochiWeb server.</p>
-
-<h3 class="function"><a name="stop-0">stop/0</a></h3>
-<div class="spec">
-<p><tt>stop() -&gt; ok</tt></p>
-</div><p>Stop the MochiWeb server.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; ok</tt></p>
-</div><p>Run all of the tests for MochiWeb.</p>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:47.</i></p>
-</body>
-</html>
View
40 deps/mochiweb/doc/mochiweb_app.html
@@ -1,40 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb_app</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb_app</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Callbacks for the mochiweb application.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Behaviours:</b> <a href="application.html"><tt>application</tt></a>.</p>
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Callbacks for the mochiweb application.
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#start-2">start/2</a></td><td>application start callback for mochiweb.</td></tr>
-<tr><td valign="top"><a href="#stop-1">stop/1</a></td><td>application stop callback for mochiweb.</td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="start-2">start/2</a></h3>
-<div class="spec">
-<p><tt>start(Type::_Type, StartArgs::_StartArgs) -&gt; ServerRet</tt></p>
-</div><p>application start callback for mochiweb.</p>
-
-<h3 class="function"><a name="stop-1">stop/1</a></h3>
-<div class="spec">
-<p><tt>stop(State::_State) -&gt; ServerRet</tt></p>
-</div><p>application stop callback for mochiweb.</p>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:49.</i></p>
-</body>
-</html>
View
43 deps/mochiweb/doc/mochiweb_charref.html
@@ -1,43 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb_charref</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb_charref</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Converts HTML 4 charrefs and entities to codepoints.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Converts HTML 4 charrefs and entities to codepoints.
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#charref-1">charref/1</a></td><td>Convert a decimal charref, hex charref, or html entity to a unicode
- codepoint, or return undefined on failure.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td>Run tests for mochiweb_charref.</td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="charref-1">charref/1</a></h3>
-<div class="spec">
-<p><tt>charref(B::S) -&gt; integer() | undefined</tt></p>
-</div><p>Convert a decimal charref, hex charref, or html entity to a unicode
- codepoint, or return undefined on failure.
- The input should not include an ampersand or semicolon.
- charref("#38") = 38, charref("#x26") = 38, charref("amp") = 38.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; ok</tt></p>
-</div><p>Run tests for mochiweb_charref.</p>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:50.</i></p>
-</body>
-</html>
View
65 deps/mochiweb/doc/mochiweb_cookies.html
@@ -1,65 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb_cookies</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb_cookies</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#types">Data Types</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>HTTP Cookie parsing and generating (RFC 2109, RFC 2965).
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Emad El-Haraty (<a href="mailto:emad@mochimedia.com"><tt>emad@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>HTTP Cookie parsing and generating (RFC 2109, RFC 2965).
-<h2><a name="types">Data Types</a></h2>
-
-<h3 class="typedecl"><a name="type-header">header()</a></h3>
-<p><tt>header() = {Name::string(), Value::string()}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-proplist">proplist()</a></h3>
-<p><tt>proplist() = [{Key::string(), Value::string()}]</tt></p>
-
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#cookie-2">cookie/2</a></td><td>Short-hand for <code>cookie(Key, Value, [])</code>.</td></tr>
-<tr><td valign="top"><a href="#cookie-3">cookie/3</a></td><td>Generate a Set-Cookie header field tuple.</td></tr>
-<tr><td valign="top"><a href="#parse_cookie-1">parse_cookie/1</a></td><td>Parse the contents of a Cookie header field, ignoring cookie
- attributes, and return a simple property list.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td>Run tests for mochiweb_cookies.</td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="cookie-2">cookie/2</a></h3>
-<div class="spec">
-<p><tt>cookie(Key::string(), Value::string()) -&gt; <a href="#type-header">header()</a></tt></p>
-</div><p>Short-hand for <code>cookie(Key, Value, [])</code>.</p>
-
-<h3 class="function"><a name="cookie-3">cookie/3</a></h3>
-<div class="spec">
-<p><tt>cookie(Key::string(), Value::string(), Options::[Option]) -&gt; <a href="#type-header">header()</a></tt>
-<ul class="definitions"><li><tt>Option = {max_age, integer()} | {local_time, {<a href="#type-date">date()</a>, <a href="#type-time">time()</a>}} | {domain, string()} | {path, string()} | {secure, true | false}</tt></li>
-</ul></p>
-</div><p>Generate a Set-Cookie header field tuple.</p>
-
-<h3 class="function"><a name="parse_cookie-1">parse_cookie/1</a></h3>
-<div class="spec">
-<p><tt>parse_cookie(Cookie::string()) -&gt; [{K::string(), V::string()}]</tt></p>
-</div><p>Parse the contents of a Cookie header field, ignoring cookie
- attributes, and return a simple property list.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; ok</tt></p>
-</div><p>Run tests for mochiweb_cookies.</p>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:51.</i></p>
-</body>
-</html>
View
45 deps/mochiweb/doc/mochiweb_echo.html
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb_echo</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb_echo</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Simple and stupid echo server to demo mochiweb_socket_server.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Simple and stupid echo server to demo mochiweb_socket_server.
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#loop-1">loop/1</a></td><td></td></tr>
-<tr><td valign="top"><a href="#start-0">start/0</a></td><td></td></tr>
-<tr><td valign="top"><a href="#stop-0">stop/0</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="loop-1">loop/1</a></h3>
-<div class="spec">
-<p><tt>loop() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="start-0">start/0</a></h3>
-<div class="spec">
-<p><tt>start() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="stop-0">stop/0</a></h3>
-<div class="spec">
-<p><tt>stop() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:52.</i></p>
-</body>
-</html>
View
129 deps/mochiweb/doc/mochiweb_headers.html
@@ -1,129 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb_headers</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb_headers</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#types">Data Types</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Case preserving (but case insensitive) HTTP Header dictionary.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Case preserving (but case insensitive) HTTP Header dictionary.
-<h2><a name="types">Data Types</a></h2>
-
-<h3 class="typedecl"><a name="type-headers">headers()</a></h3>
-<p><b>abstract datatype</b>: <tt>headers()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-key">key()</a></h3>
-<p><tt>key() = atom() | binary() | string()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-value">value()</a></h3>
-<p><tt>value() = atom() | binary() | string() | integer()</tt></p>
-
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#default-3">default/3</a></td><td>Insert the pair into the headers if it does not already exist.</td></tr>
-<tr><td valign="top"><a href="#default_from_list-2">default_from_list/2</a></td><td>Insert pairs into the headers for keys that do not already exist.</td></tr>
-<tr><td valign="top"><a href="#empty-0">empty/0</a></td><td>Create an empty headers structure.</td></tr>
-<tr><td valign="top"><a href="#enter-3">enter/3</a></td><td>Insert the pair into the headers, replacing any pre-existing key.</td></tr>
-<tr><td valign="top"><a href="#enter_from_list-2">enter_from_list/2</a></td><td>Insert pairs into the headers, replace any values for existing keys.</td></tr>
-<tr><td valign="top"><a href="#from_list-1">from_list/1</a></td><td>Construct a headers() from the given list.</td></tr>
-<tr><td valign="top"><a href="#get_primary_value-2">get_primary_value/2</a></td><td>Return the value of the given header up to the first semicolon using
- a case insensitive search.</td></tr>
-<tr><td valign="top"><a href="#get_value-2">get_value/2</a></td><td>Return the value of the given header using a case insensitive search.</td></tr>
-<tr><td valign="top"><a href="#insert-3">insert/3</a></td><td>Insert the pair into the headers, merging with any pre-existing key.</td></tr>
-<tr><td valign="top"><a href="#lookup-2">lookup/2</a></td><td>Return the case preserved key and value for the given header using
- a case insensitive search.</td></tr>
-<tr><td valign="top"><a href="#make-1">make/1</a></td><td>Construct a headers() from the given list.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td>Run tests for this module.</td></tr>
-<tr><td valign="top"><a href="#to_list-1">to_list/1</a></td><td>Return the contents of the headers.</td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="default-3">default/3</a></h3>
-<div class="spec">
-<p><tt>default(K::<a href="#type-key">key()</a>, V::<a href="#type-value">value()</a>, T::<a href="#type-headers">headers()</a>) -&gt; <a href="#type-headers">headers()</a></tt></p>
-</div><p>Insert the pair into the headers if it does not already exist.</p>
-
-<h3 class="function"><a name="default_from_list-2">default_from_list/2</a></h3>
-<div class="spec">
-<p><tt>default_from_list(List::[{<a href="#type-key">key()</a>, <a href="#type-value">value()</a>}], T::<a href="#type-headers">headers()</a>) -&gt; <a href="#type-headers">headers()</a></tt></p>
-</div><p>Insert pairs into the headers for keys that do not already exist.</p>
-
-<h3 class="function"><a name="empty-0">empty/0</a></h3>
-<div class="spec">
-<p><tt>empty() -&gt; <a href="#type-headers">headers()</a></tt></p>
-</div><p>Create an empty headers structure.</p>
-
-<h3 class="function"><a name="enter-3">enter/3</a></h3>
-<div class="spec">
-<p><tt>enter(K::<a href="#type-key">key()</a>, V::<a href="#type-value">value()</a>, T::<a href="#type-headers">headers()</a>) -&gt; <a href="#type-headers">headers()</a></tt></p>
-</div><p>Insert the pair into the headers, replacing any pre-existing key.</p>
-
-<h3 class="function"><a name="enter_from_list-2">enter_from_list/2</a></h3>
-<div class="spec">
-<p><tt>enter_from_list(List::[{<a href="#type-key">key()</a>, <a href="#type-value">value()</a>}], T::<a href="#type-headers">headers()</a>) -&gt; <a href="#type-headers">headers()</a></tt></p>
-</div><p>Insert pairs into the headers, replace any values for existing keys.</p>
-
-<h3 class="function"><a name="from_list-1">from_list/1</a></h3>
-<div class="spec">
-<p><tt>from_list(List::[{<a href="#type-key">key()</a>, <a href="#type-value">value()</a>}]) -&gt; <a href="#type-headers">headers()</a></tt></p>
-</div><p>Construct a headers() from the given list.</p>
-
-<h3 class="function"><a name="get_primary_value-2">get_primary_value/2</a></h3>
-<div class="spec">
-<p><tt>get_primary_value(K::<a href="#type-key">key()</a>, T::<a href="#type-headers">headers()</a>) -&gt; string() | undefined</tt></p>
-</div><p>Return the value of the given header up to the first semicolon using
- a case insensitive search. undefined will be returned for keys
- that are not present.</p>
-
-<h3 class="function"><a name="get_value-2">get_value/2</a></h3>
-<div class="spec">
-<p><tt>get_value(K::<a href="#type-key">key()</a>, T::<a href="#type-headers">headers()</a>) -&gt; string() | undefined</tt></p>
-</div><p>Return the value of the given header using a case insensitive search.
- undefined will be returned for keys that are not present.</p>
-
-<h3 class="function"><a name="insert-3">insert/3</a></h3>
-<div class="spec">
-<p><tt>insert(K::<a href="#type-key">key()</a>, V::<a href="#type-value">value()</a>, T::<a href="#type-headers">headers()</a>) -&gt; <a href="#type-headers">headers()</a></tt></p>
-</div><p>Insert the pair into the headers, merging with any pre-existing key.
- A merge is done with Value = V0 ++ ", " ++ V1.</p>
-
-<h3 class="function"><a name="lookup-2">lookup/2</a></h3>
-<div class="spec">
-<p><tt>lookup(K::<a href="#type-key">key()</a>, T::<a href="#type-headers">headers()</a>) -&gt; {value, {<a href="#type-key">key()</a>, string()}} | none</tt></p>
-</div><p>Return the case preserved key and value for the given header using
- a case insensitive search. none will be returned for keys that are
- not present.</p>
-
-<h3 class="function"><a name="make-1">make/1</a></h3>
-<div class="spec">
-<p><tt>make(L::<a href="#type-headers">headers()</a> | [{<a href="#type-key">key()</a>, <a href="#type-value">value()</a>}]) -&gt; <a href="#type-headers">headers()</a></tt></p>
-</div><p>Construct a headers() from the given list.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; ok</tt></p>
-</div><p>Run tests for this module.</p>
-
-<h3 class="function"><a name="to_list-1">to_list/1</a></h3>
-<div class="spec">
-<p><tt>to_list(T::<a href="#type-headers">headers()</a>) -&gt; [{<a href="#type-key">key()</a>, string()}]</tt></p>
-</div><p>Return the contents of the headers. The keys will be the exact key
- that was first inserted (e.g. may be an atom or binary, case is
- preserved).</p>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:54.</i></p>
-</body>
-</html>
View
115 deps/mochiweb/doc/mochiweb_html.html
@@ -1,115 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb_html</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb_html</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#types">Data Types</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Loosely tokenizes and generates parse trees for HTML 4.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Loosely tokenizes and generates parse trees for HTML 4.
-<h2><a name="types">Data Types</a></h2>
-
-<h3 class="typedecl"><a name="type-end_tag">end_tag()</a></h3>
-<p><tt>end_tag() = {end_tag, Name}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-html_attr">html_attr()</a></h3>
-<p><tt>html_attr() = {string(), string()}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-html_comment">html_comment()</a></h3>
-<p><tt>html_comment() = {comment, Comment}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-html_data">html_data()</a></h3>
-<p><tt>html_data() = {data, string(), Whitespace::<a href="#type-boolean">boolean()</a>}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-html_doctype">html_doctype()</a></h3>
-<p><tt>html_doctype() = {doctype, [Doctype]}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-html_node">html_node()</a></h3>
-<p><tt>html_node() = {string(), [<a href="#type-html_attr">html_attr()</a>], [<a href="#type-html_node">html_node()</a> | string()]}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-html_token">html_token()</a></h3>
-<p><tt>html_token() = <a href="#type-html_data">html_data()</a> | <a href="#type-start_tag">start_tag()</a> | <a href="#type-end_tag">end_tag()</a> | <a href="#type-inline_html">inline_html()</a> | <a href="#type-html_comment">html_comment()</a> | <a href="#type-html_doctype">html_doctype()</a></tt></p>
-
-
-<h3 class="typedecl"><a name="type-inline_html">inline_html()</a></h3>
-<p><tt>inline_html() = {'=', <a href="#type-iolist">iolist()</a>}</tt></p>
-
-
-<h3 class="typedecl"><a name="type-start_tag">start_tag()</a></h3>
-<p><tt>start_tag() = {start_tag, Name, [<a href="#type-html_attr">html_attr()</a>], Singleton::<a href="#type-boolean">boolean()</a>}</tt></p>
-
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#escape-1">escape/1</a></td><td>Escape a string such that it's safe for HTML (amp; lt; gt;).</td></tr>
-<tr><td valign="top"><a href="#escape_attr-1">escape_attr/1</a></td><td>Escape a string such that it's safe for HTML attrs
- (amp; lt; gt; quot;).</td></tr>
-<tr><td valign="top"><a href="#parse-1">parse/1</a></td><td>tokenize and then transform the token stream into a HTML tree.</td></tr>
-<tr><td valign="top"><a href="#parse_tokens-1">parse_tokens/1</a></td><td>Transform the output of tokens(Doc) into a HTML tree.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td>Run tests for mochiweb_html.</td></tr>
-<tr><td valign="top"><a href="#to_html-1">to_html/1</a></td><td>Convert a list of html_token() to a HTML document.</td></tr>
-<tr><td valign="top"><a href="#to_tokens-1">to_tokens/1</a></td><td>Convert a html_node() tree to a list of tokens.</td></tr>
-<tr><td valign="top"><a href="#tokens-1">tokens/1</a></td><td>Transform the input UTF-8 HTML into a token stream.</td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="escape-1">escape/1</a></h3>
-<div class="spec">
-<p><tt>escape(B::string() | binary()) -&gt; string()</tt></p>
-</div><p>Escape a string such that it's safe for HTML (amp; lt; gt;).</p>
-
-<h3 class="function"><a name="escape_attr-1">escape_attr/1</a></h3>
-<div class="spec">
-<p><tt>escape_attr(S::string()) -&gt; string()</tt></p>
-</div><p>Escape a string such that it's safe for HTML attrs
- (amp; lt; gt; quot;).</p>
-
-<h3 class="function"><a name="parse-1">parse/1</a></h3>
-<div class="spec">
-<p><tt>parse(Input::string() | binary()) -&gt; <a href="#type-html_node">html_node()</a></tt></p>
-</div><p>tokenize and then transform the token stream into a HTML tree.</p>
-
-<h3 class="function"><a name="parse_tokens-1">parse_tokens/1</a></h3>
-<div class="spec">
-<p><tt>parse_tokens(Tokens::[<a href="#type-html_token">html_token()</a>]) -&gt; <a href="#type-html_node">html_node()</a></tt></p>
-</div><p>Transform the output of tokens(Doc) into a HTML tree.</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; ok</tt></p>
-</div><p>Run tests for mochiweb_html.</p>
-
-<h3 class="function"><a name="to_html-1">to_html/1</a></h3>
-<div class="spec">
-<p><tt>to_html(Node::[<a href="#type-html_token">html_token()</a>] | <a href="#type-html_node">html_node()</a>) -&gt; <a href="#type-iolist">iolist()</a></tt></p>
-</div><p>Convert a list of html_token() to a HTML document.</p>
-
-<h3 class="function"><a name="to_tokens-1">to_tokens/1</a></h3>
-<div class="spec">
-<p><tt>to_tokens(T::<a href="#type-html_node">html_node()</a>) -&gt; [<a href="#type-html_token">html_token()</a>]</tt></p>
-</div><p>Convert a html_node() tree to a list of tokens.</p>
-
-<h3 class="function"><a name="tokens-1">tokens/1</a></h3>
-<div class="spec">
-<p><tt>tokens(Input::StringOrBinary) -&gt; [<a href="#type-html_token">html_token()</a>]</tt></p>
-</div><p>Transform the input UTF-8 HTML into a token stream.</p>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:55.</i></p>
-</body>
-</html>
View
63 deps/mochiweb/doc/mochiweb_http.html
@@ -1,63 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb_http</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb_http</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>HTTP server.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>HTTP server.
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#default_body-1">default_body/1</a></td><td></td></tr>
-<tr><td valign="top"><a href="#loop-2">loop/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#start-0">start/0</a></td><td></td></tr>
-<tr><td valign="top"><a href="#start-1">start/1</a></td><td></td></tr>
-<tr><td valign="top"><a href="#stop-0">stop/0</a></td><td></td></tr>
-<tr><td valign="top"><a href="#stop-1">stop/1</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="default_body-1">default_body/1</a></h3>
-<div class="spec">
-<p><tt>default_body() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="loop-2">loop/2</a></h3>
-<div class="spec">
-<p><tt>loop() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="start-0">start/0</a></h3>
-<div class="spec">
-<p><tt>start() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="start-1">start/1</a></h3>
-<div class="spec">
-<p><tt>start() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="stop-0">stop/0</a></h3>
-<div class="spec">
-<p><tt>stop() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="stop-1">stop/1</a></h3>
-<div class="spec">
-<p><tt>stop() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:56.</i></p>
-</body>
-</html>
View
38 deps/mochiweb/doc/mochiweb_jsonrpc.html
@@ -1,38 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb_jsonrpc</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb_jsonrpc</h1>
-<ul class="index"><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>
-<p>Copyright © 2008 Abhay Kumar</p>
-
-<p><b>Authors:</b> Abhay Kumar (<a href="mailto:abhay@opensynapse.net"><tt>abhay@opensynapse.net</tt></a>).</p>
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#handler-2">handler/2</a></td><td>generic handler for all rpc calls.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="handler-2">handler/2</a></h3>
-<div class="spec">
-<p><tt>handler(Req::<a href="#type-request">request()</a>, ModFun::tuple()) -&gt; <a href="#type-response">response()</a></tt></p>
-</div><p>generic handler for all rpc calls</p>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 28 2008, 23:57:54.</i></p>
-</body>
-</html>
View
51 deps/mochiweb/doc/mochiweb_multipart.html
@@ -1,51 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb_multipart</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb_multipart</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Utilities for parsing multipart/form-data.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>Utilities for parsing multipart/form-data.
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#parse_form-1">parse_form/1</a></td><td></td></tr>
-<tr><td valign="top"><a href="#parse_form-2">parse_form/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#parse_multipart_request-2">parse_multipart_request/2</a></td><td></td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="parse_form-1">parse_form/1</a></h3>
-<div class="spec">
-<p><tt>parse_form() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="parse_form-2">parse_form/2</a></h3>
-<div class="spec">
-<p><tt>parse_form() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="parse_multipart_request-2">parse_multipart_request/2</a></h3>
-<div class="spec">
-<p><tt>parse_multipart_request() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="test-0">test/0</a></h3>
-<div class="spec">
-<p><tt>test() -&gt; term()</tt></p>
-</div>
-<hr>
-
-<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, May 29 2008, 01:02:57.</i></p>
-</body>
-</html>
View
230 deps/mochiweb/doc/mochiweb_request.html
@@ -1,230 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Module mochiweb_request(Socket, Method, RawPath, Version, Headers)</title>
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
-</head>
-<body bgcolor="white">
-<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<hr>
-
-<h1>Module mochiweb_request(Socket, Method, RawPath, Version, Headers)</h1>
-<ul class="index"><li><a href="#description">Description</a></li><li><a href="#types">Data Types</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>MochiWeb HTTP Request abstraction.
-<p>Copyright © 2007 Mochi Media, Inc.</p>
-
-<p><b>Authors:</b> Bob Ippolito (<a href="mailto:bob@mochimedia.com"><tt>bob@mochimedia.com</tt></a>).</p>
-
-<h2><a name="description">Description</a></h2>MochiWeb HTTP Request abstraction.
-<h2><a name="types">Data Types</a></h2>
-
-<h3 class="typedecl"><a name="type-field">field()</a></h3>
-<p><tt>field() = socket | method | raw_path | version | headers | peer | path | body_length | range</tt></p>
-
-
-<h3 class="typedecl"><a name="type-headers">headers()</a></h3>
-<p><b>abstract datatype</b>: <tt>headers()</tt></p>
-<p>A mochiweb_headers structure.</p>
-
-<h3 class="typedecl"><a name="type-iodata">iodata()</a></h3>
-<p><tt>iodata() = binary() | <a href="#type-iolist">iolist()</a></tt></p>
-
-
-<h3 class="typedecl"><a name="type-ioheaders">ioheaders()</a></h3>
-<p><tt>ioheaders() = <a href="#type-headers">headers()</a> | [{<a href="#type-key">key()</a>, <a href="#type-value">value()</a>}]</tt></p>
-
-
-<h3 class="typedecl"><a name="type-iolist">iolist()</a></h3>
-<p><tt>iolist() = [<a href="#type-iolist">iolist()</a> | binary() | char()]</tt></p>
-
-
-<h3 class="typedecl"><a name="type-key">key()</a></h3>
-<p><tt>key() = atom() | string() | binary()</tt></p>
-
-
-<h3 class="typedecl"><a name="type-response">response()</a></h3>
-<p><b>abstract datatype</b>: <tt>response()</tt></p>
-<p>A mochiweb_response parameterized module instance.</p>
-
-<h3 class="typedecl"><a name="type-value">value()</a></h3>
-<p><tt>value() = atom() | string() | binary() | integer()</tt></p>
-
-
-<h2><a name="index">Function Index</a></h2>
-<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#cleanup-0">cleanup/0</a></td><td>Clean up any junk in the process dictionary, required before continuing
- a Keep-Alive request.</td></tr>
-<tr><td valign="top"><a href="#dump-0">dump/0</a></td><td>Dump the internal representation to a "human readable" set of terms
- for debugging/inspection purposes.</td></tr>
-<tr><td valign="top"><a href="#get-1">get/1</a></td><td>Return the internal representation of the given field.</td></tr>
-<tr><td valign="top"><a href="#get_cookie_value-1">get_cookie_value/1</a></td><td>Get the value of the given cookie.</td></tr>
-<tr><td valign="top"><a href="#get_header_value-1">get_header_value/1</a></td><td>Get the value of a given request header.</td></tr>
-<tr><td valign="top"><a href="#get_primary_header_value-1">get_primary_header_value/1</a></td><td></td></tr>
-<tr><td valign="top"><a href="#new-5">new/5</a></td><td></td></tr>
-<tr><td valign="top"><a href="#not_found-0">not_found/0</a></td><td>respond({404, [{"Content-Type", "text/plain"}], "Not found."}).</td></tr>
-<tr><td valign="top"><a href="#ok-1">ok/1</a></td><td>respond({200, [{"Content-Type", ContentType} | Headers], Body}).</td></tr>
-<tr><td valign="top"><a href="#parse_cookie-0">parse_cookie/0</a></td><td>Parse the cookie header.</td></tr>
-<tr><td valign="top"><a href="#parse_post-0">parse_post/0</a></td><td>Parse an application/x-www-form-urlencoded form POST.</td></tr>
-<tr><td valign="top"><a href="#parse_qs-0">parse_qs/0</a></td><td>Parse the query string of the URL.</td></tr>
-<tr><td valign="top"><a href="#recv-1">recv/1</a></td><td>Receive Length bytes from the client as a binary, with the default
- idle timeout.</td></tr>
-<tr><td valign="top"><a href="#recv-2">recv/2</a></td><td>Receive Length bytes from the client as a binary, with the given
- Timeout in msec.</td></tr>
-<tr><td valign="top"><a href="#recv_body-0">recv_body/0</a></td><td>Receive the body of the HTTP request (defined by Content-Length).</td></tr>
-<tr><td valign="top"><a href="#recv_body-1">recv_body/1</a></td><td>Receive the body of the HTTP request (defined by Content-Length).</td></tr>
-<tr><td valign="top"><a href="#respond-1">respond/1</a></td><td>Start the HTTP response with start_response, and send Body to the
- client (if the get(method) /= 'HEAD').</td></tr>
-<tr><td valign="top"><a href="#send-1">send/1</a></td><td>Send data over the socket.</td></tr>
-<tr><td valign="top"><a href="#serve_file-2">serve_file/2</a></td><td>Serve a file relative to DocRoot.</td></tr>
-<tr><td valign="top"><a href="#should_close-0">should_close/0</a></td><td>Return true if the connection must be closed.</td></tr>
-<tr><td valign="top"><a href="#start_raw_response-1">start_raw_response/1</a></td><td>Start the HTTP response by sending the Code HTTP response and
- ResponseHeaders.</td></tr>
-<tr><td valign="top"><a href="#start_response-1">start_response/1</a></td><td>Start the HTTP response by sending the Code HTTP response and
- ResponseHeaders.</td></tr>
-<tr><td valign="top"><a href="#start_response_length-1">start_response_length/1</a></td><td>Start the HTTP response by sending the Code HTTP response and
- ResponseHeaders including a Content-Length of Length.</td></tr>
-<tr><td valign="top"><a href="#test-0">test/0</a></td><td></td></tr>
-</table>
-
-<h2><a name="functions">Function Details</a></h2>
-
-<h3 class="function"><a name="cleanup-0">cleanup/0</a></h3>
-<div class="spec">
-<p><tt>cleanup() -&gt; ok</tt></p>
-</div><p>Clean up any junk in the process dictionary, required before continuing
- a Keep-Alive request.</p>
-
-<h3 class="function"><a name="dump-0">dump/0</a></h3>
-<div class="spec">
-<p><tt>dump() -&gt; {mochiweb_request, [{atom(), term()}]}</tt></p>
-</div><p>Dump the internal representation to a "human readable" set of terms
- for debugging/inspection purposes.</p>
-
-<h3 class="function"><a name="get-1">get/1</a></h3>
-<div class="spec">
-<p><tt>get(X1::<a href="#type-field">field()</a>) -&gt; term()</tt></p>
-</div><p>Return the internal representation of the given field.</p>
-
-<h3 class="function"><a name="get_cookie_value-1">get_cookie_value/1</a></h3>
-<div class="spec">
-<p><tt>get_cookie_value(Key::string) -&gt; string() | undefined</tt></p>
-</div><p>Get the value of the given cookie.</p>
-
-<h3 class="function"><a name="get_header_value-1">get_header_value/1</a></h3>
-<div class="spec">
-<p><tt>get_header_value(K) -&gt; undefined | Value</tt></p>
-</div><p>Get the value of a given request header.</p>
-
-<h3 class="function"><a name="get_primary_header_value-1">get_primary_header_value/1</a></h3>
-<div class="spec">
-<p><tt>get_primary_header_value() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="new-5">new/5</a></h3>
-<div class="spec">
-<p><tt>new() -&gt; term()</tt></p>
-</div>
-
-<h3 class="function"><a name="not_found-0">not_found/0</a></h3>
-<div class="spec">
-<p><tt>not_found() -&gt; <a href="#type-response">response()</a></tt></p>
-</div><p>respond({404, [{"Content-Type", "text/plain"}], "Not found."}).</p>
-
-<h3 class="function"><a name="ok-1">ok/1</a></h3>
-<div class="spec">
-<p><tt>ok(X1::{<a href="#type-value">value()</a>, <a href="#type-iodata">iodata()</a>} | {<a href="#type-value">value()</a>, <a href="#type-ioheaders">ioheaders()</a>, <a href="#type-iodata">iodata()</a> | {file, IoDevice}}) -&gt; <a href="#type-response">response()</a></tt></p>
-</div><p>respond({200, [{"Content-Type", ContentType} | Headers], Body}).</p>
-
-<h3 class="function"><a name="parse_cookie-0">parse_cookie/0</a></h3>
-<div class="spec">
-<p><tt>parse_cookie() -&gt; [{Key::string(), Value::string()}]</tt></p>
-</div><p>Parse the cookie header.</p>
-
-<h3 class="function"><a name="parse_post-0">parse_post/0</a></h3>
-<div class="spec">
-<p><tt>parse_post() -&gt; [{Key::string(), Value::string()}]</tt></p>
-</div><p>Parse an application/x-www-form-urlencoded form POST. This
- has the side-effect of calling recv_body().</p>
-
-<h3 class="function"><a name="parse_qs-0">parse_qs/0</a></h3>
-<div class="spec">
-<p><tt>parse_qs() -&gt; [{Key::string(), Value::string()}]</tt></p>
-</div><p>Parse the query string of the URL.</p>
-
-<h3 class="function"><a name="recv-1">recv/1</a></h3>
-<div class="spec">
-<p><tt>recv(Length::integer()) -&gt; binary()</tt></p>
-</div><p>Receive Length bytes from the client as a binary, with the default
- idle timeout.</p>
-
-<h3 class="function"><a name="recv-2">recv/2</a></h3>
-<div class="spec">
-<p><tt>recv(Length::integer(), Timeout::integer()) -&gt; binary()</tt></p>
-</div><p>Receive Length bytes from the client as a binary, with the given
- Timeout in msec.</p>
-
-<h3 class="function"><a name="recv_body-0">recv_body/0</a></h3>