twisted.protocols.http.html [plain text]
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>twisted.protocols.http</title>
<link rel="stylesheet" href="epydoc.css" type="text/css"></link>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
alink="#204080">
<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
<tr valign="center">
<th class="navbar"> <a class="navbar" href="twisted.html">Home</a> </th>
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center">
<p class="nomargin">
<a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted 1.3.0rc1</a>
</p></th></tr></table>
</th>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="100%">
<font size="-1"><b class="breadcrumbs">
<a href="twisted.html">Package twisted</a> ::
<a href="twisted.protocols.html">Package protocols</a> ::
Module http
</b></font></br>
</td>
<td><table cellpadding="0" cellspacing="0">
<tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a> | <a href="twisted.protocols.http.html" target="_top">no frames</a>]</font></td></tr>
</table></td>
</tr></table>
<!-- =========== START OF MODULE DESCRIPTION =========== -->
<h2 class="module">Module twisted.protocols.http</h2>
<p>HyperText Transfer Protocol implementation.</p>
<p>This is used by twisted.web.</p>
<p>API Stability: Server HTTP support is semi-stable, client HTTP is
unstable.</p>
Future Plans:
<ul>
<li>
HTTP client support will at some point be refactored to support
HTTP/1.1.
</li>
<li>
Accept chunked data from clients in server.
</li>
<li>
Other missing HTTP features from the RFC.
</li>
</ul>
Maintainer: <a href="mailto:twisted@itamarst.org">Itamar
Shtull-Trauring</a>
<hr/>
<!-- =========== START OF CLASSES =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Classes</th></tr>
<tr><td width="15%">
<b><a href="twisted.protocols.http.HTTPChannel.html"><code>HTTPChannel</code></a></b></td>
<td>A receiver for HTTP requests.</td></tr>
<tr><td width="15%">
<b><a href="twisted.protocols.http.HTTPClient.html"><code>HTTPClient</code></a></b></td>
<td>A client for HTTP 1.0</td></tr>
<tr><td width="15%">
<b><a href="twisted.protocols.http.HTTPFactory.html"><code>HTTPFactory</code></a></b></td>
<td>Factory for HTTP server.</td></tr>
<tr><td width="15%">
<b><a href="twisted.protocols.http.Request.html"><code>Request</code></a></b></td>
<td>A HTTP request.</td></tr>
<tr><td width="15%">
<b><a href="twisted.protocols.http.StringTransport.html"><code>StringTransport</code></a></b></td>
<td>I am a StringIO wrapper that conforms for the transport API.</td></tr>
</table><br />
<!-- =========== START OF FUNCTION SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Function Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><a name="_logDateTimeStart"></a><span class="summary-sig"><span class="summary-sig-name">_logDateTimeStart</span>()</span></code>
</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><a name="_logDateTimeStop"></a><span class="summary-sig"><span class="summary-sig-name">_logDateTimeStop</span>()</span></code>
</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><a name="_resetLogDateTime"></a><span class="summary-sig"><span class="summary-sig-name">_resetLogDateTime</span>()</span></code>
</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><span class="summary-sig"><a href="twisted.protocols.http.html#datetimeToLogString" class="summary-sig-name"><code>datetimeToLogString</code></a>(<span class=summary-sig-arg>msSinceEpoch</span>)</span></code>
<br />
Convert seconds since epoch to log datetime string.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><span class="summary-sig"><a href="twisted.protocols.http.html#datetimeToString" class="summary-sig-name"><code>datetimeToString</code></a>(<span class=summary-sig-arg>msSinceEpoch</span>)</span></code>
<br />
Convert seconds since epoch to HTTP datetime string.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><span class="summary-sig"><a href="twisted.protocols.http.html#fromChunk" class="summary-sig-name"><code>fromChunk</code></a>(<span class=summary-sig-arg>data</span>)</span></code>
<br />
Convert chunk to string.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><span class="summary-sig"><a href="twisted.protocols.http.html#parse_qs" class="summary-sig-name"><code>parse_qs</code></a>(<span class=summary-sig-arg>qs</span>,
<span class=summary-sig-arg>keep_blank_values</span>,
<span class=summary-sig-arg>strict_parsing</span>,
<span class=summary-sig-arg>unquote</span>)</span></code>
<br />
like cgi.parse_qs, only with custom unquote function</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><span class="summary-sig"><a href="twisted.protocols.http.html#parseContentRange" class="summary-sig-name"><code>parseContentRange</code></a>(<span class=summary-sig-arg>header</span>)</span></code>
<br />
Parse a content-range header into (start, end, realLength).</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><span class="summary-sig"><a href="twisted.protocols.http.html#stringToDatetime" class="summary-sig-name"><code>stringToDatetime</code></a>(<span class=summary-sig-arg>dateString</span>)</span></code>
<br />
Convert an HTTP date string to seconds since epoch.</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><span class="summary-sig"><a href="twisted.protocols.http.html#timegm" class="summary-sig-name"><code>timegm</code></a>(<span class=summary-sig-arg>year</span>,
<span class=summary-sig-arg>month</span>,
<span class=summary-sig-arg>day</span>,
<span class=summary-sig-arg>hour</span>,
<span class=summary-sig-arg>minute</span>,
<span class=summary-sig-arg>second</span>)</span></code>
<br />
Convert time tuple in GMT to seconds since epoch, GMT</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><span class="summary-sig"><a href="twisted.protocols.http.html#toChunk" class="summary-sig-name"><code>toChunk</code></a>(<span class=summary-sig-arg>data</span>)</span></code>
<br />
Convert string to a chunk.</td></tr>
</table><br />
<!-- =========== START OF VARIABLE SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Variable Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#_CONTINUE"><code>_CONTINUE</code></a></b> = <span title="100">100 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>NoneType</code></font></td>
<td><b><a href="twisted.protocols.http.html#_logDateTime"><code>_logDateTime</code></a></b> = <span title="None">None </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#_logDateTimeUsers"><code>_logDateTimeUsers</code></a></b> = <span title="0">0 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>NoneType</code></font></td>
<td><b><a href="twisted.protocols.http.html#_resetLogDateTimeID"><code>_resetLogDateTimeID</code></a></b> = <span title="None">None </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#ACCEPTED"><code>ACCEPTED</code></a></b> = <span title="202">202 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#BAD_GATEWAY"><code>BAD_GATEWAY</code></a></b> = <span title="502">502 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#BAD_REQUEST"><code>BAD_REQUEST</code></a></b> = <span title="400">400 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="twisted.protocols.http.html#CACHED"><code>CACHED</code></a></b> = <span title="'Magic constant returned by http.Request methods to set cache\nvalidation headers when the request is conditional and the value fails\nthe condition.'"><code><span class="variable-quote">'</span>Magic constant returned by http.Request method<span class="variable-ellipsis">...</span></code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#CONFLICT"><code>CONFLICT</code></a></b> = <span title="409">409 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#CREATED"><code>CREATED</code></a></b> = <span title="201">201 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#EXPECTATION_FAILED"><code>EXPECTATION_FAILED</code></a></b> = <span title="417">417 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#FORBIDDEN"><code>FORBIDDEN</code></a></b> = <span title="403">403 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#FOUND"><code>FOUND</code></a></b> = <span title="302">302 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#GATEWAY_TIMEOUT"><code>GATEWAY_TIMEOUT</code></a></b> = <span title="504">504 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#GONE"><code>GONE</code></a></b> = <span title="410">410 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#HTTP_VERSION_NOT_SUPPORTED"><code>HTTP_VERSION_NOT_SUPPORTED</code></a></b> = <span title="505">505 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#INSUFFICIENT_STORAGE_SPACE"><code>INSUFFICIENT_STORAGE_SPACE</code></a></b> = <span title="507">507 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#INTERNAL_SERVER_ERROR"><code>INTERNAL_SERVER_ERROR</code></a></b> = <span title="500">500 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#LENGTH_REQUIRED"><code>LENGTH_REQUIRED</code></a></b> = <span title="411">411 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>list</code></font></td>
<td><b><a href="twisted.protocols.http.html#monthname"><code>monthname</code></a></b> = <span title="[None, 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']"><code>[None, 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'J<span class="variable-ellipsis">...</span></code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#MOVED_PERMANENTLY"><code>MOVED_PERMANENTLY</code></a></b> = <span title="301">301 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#MULTI_STATUS"><code>MULTI_STATUS</code></a></b> = <span title="207">207 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#MULTIPLE_CHOICE"><code>MULTIPLE_CHOICE</code></a></b> = <span title="300">300 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>tuple</code></font></td>
<td><b><a href="twisted.protocols.http.html#NO_BODY_CODES"><code>NO_BODY_CODES</code></a></b> = <span title="(204, 304)"><code>(204, 304) </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#NO_CONTENT"><code>NO_CONTENT</code></a></b> = <span title="204">204 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#NON_AUTHORITATIVE_INFORMATION"><code>NON_AUTHORITATIVE_INFORMATION</code></a></b> = <span title="203">203 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#NOT_ACCEPTABLE"><code>NOT_ACCEPTABLE</code></a></b> = <span title="406">406 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#NOT_ALLOWED"><code>NOT_ALLOWED</code></a></b> = <span title="405">405 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#NOT_EXTENDED"><code>NOT_EXTENDED</code></a></b> = <span title="510">510 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#NOT_FOUND"><code>NOT_FOUND</code></a></b> = <span title="404">404 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#NOT_IMPLEMENTED"><code>NOT_IMPLEMENTED</code></a></b> = <span title="501">501 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#NOT_MODIFIED"><code>NOT_MODIFIED</code></a></b> = <span title="304">304 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#OK"><code>OK</code></a></b> = <span title="200">200 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#PARTIAL_CONTENT"><code>PARTIAL_CONTENT</code></a></b> = <span title="206">206 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#PAYMENT_REQUIRED"><code>PAYMENT_REQUIRED</code></a></b> = <span title="402">402 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#PRECONDITION_FAILED"><code>PRECONDITION_FAILED</code></a></b> = <span title="412">412 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="twisted.protocols.http.html#protocol_version"><code>protocol_version</code></a></b> = <span title="'HTTP/1.1'"><code><span class="variable-quote">'</span>HTTP/1.1<span class="variable-quote">'</span> </code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#PROXY_AUTH_REQUIRED"><code>PROXY_AUTH_REQUIRED</code></a></b> = <span title="407">407 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#REQUEST_ENTITY_TOO_LARGE"><code>REQUEST_ENTITY_TOO_LARGE</code></a></b> = <span title="413">413 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#REQUEST_TIMEOUT"><code>REQUEST_TIMEOUT</code></a></b> = <span title="408">408 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#REQUEST_URI_TOO_LONG"><code>REQUEST_URI_TOO_LONG</code></a></b> = <span title="414">414 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#REQUESTED_RANGE_NOT_SATISFIABLE"><code>REQUESTED_RANGE_NOT_SATISFIABLE</code></a></b> = <span title="416">416 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#RESET_CONTENT"><code>RESET_CONTENT</code></a></b> = <span title="205">205 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>dict</code></font></td>
<td><b><a href="twisted.protocols.http.html#RESPONSES"><code>RESPONSES</code></a></b> = <span title="{400: 'Bad Request', 401: 'Unauthorized', 402: 'Payment Required', 403: 'Forbidden', 404: 'Not Found', 405: 'Method Not Allowed', 406: 'Not Acceptable', 407: 'Proxy Authentication Required', 408: 'Request Time-out', 409: 'Conflict', 410: 'Gone', 411: 'Length Required', 412: 'Precondition Failed', 413: 'Request Entity Too Large', 414: 'Request-URI Too Long', 415: 'Unsupported Media Type', 416: 'Requested Range not satisfiable', 417: 'Expectation Failed', 300: 'Multiple Choices', 301: 'Moved Permanently', 302: 'Found', 303: 'See Other', 304: 'Not Modified', 305: 'Use Proxy', 307: 'Temporary R..."><code>{400: 'Bad Request', 401: 'Unauthorized', 40<span class="variable-ellipsis">...</span></code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>dict</code></font></td>
<td><b><a href="twisted.protocols.http.html#responses"><code>responses</code></a></b> = <span title="{400: 'Bad Request', 401: 'Unauthorized', 402: 'Payment Required', 403: 'Forbidden', 404: 'Not Found', 405: 'Method Not Allowed', 406: 'Not Acceptable', 407: 'Proxy Authentication Required', 408: 'Request Time-out', 409: 'Conflict', 410: 'Gone', 411: 'Length Required', 412: 'Precondition Failed', 413: 'Request Entity Too Large', 414: 'Request-URI Too Long', 415: 'Unsupported Media Type', 416: 'Requested Range not satisfiable', 417: 'Expectation Failed', 300: 'Multiple Choices', 301: 'Moved Permanently', 302: 'Found', 303: 'See Other', 304: 'Not Modified', 305: 'Use Proxy', 307: 'Temporary R..."><code>{400: 'Bad Request', 401: 'Unauthorized', 40<span class="variable-ellipsis">...</span></code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#SEE_OTHER"><code>SEE_OTHER</code></a></b> = <span title="303">303 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#SERVICE_UNAVAILABLE"><code>SERVICE_UNAVAILABLE</code></a></b> = <span title="503">503 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#SWITCHING"><code>SWITCHING</code></a></b> = <span title="101">101 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#TEMPORARY_REDIRECT"><code>TEMPORARY_REDIRECT</code></a></b> = <span title="307">307 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#UNAUTHORIZED"><code>UNAUTHORIZED</code></a></b> = <span title="401">401 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#UNSUPPORTED_MEDIA_TYPE"><code>UNSUPPORTED_MEDIA_TYPE</code></a></b> = <span title="415">415 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
<td><b><a href="twisted.protocols.http.html#USE_PROXY"><code>USE_PROXY</code></a></b> = <span title="305">305 </span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>list</code></font></td>
<td><b><a href="twisted.protocols.http.html#weekdayname"><code>weekdayname</code></a></b> = <span title="['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']"><code>['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat',<span class="variable-ellipsis">...</span></code>
</span></td></tr>
</table><br />
<!-- =========== START OF FUNCTION DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
<th colspan="2">Function Details</th></tr>
</table>
<a name="datetimeToLogString"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
<h3><span class="sig"><span class="sig-name">datetimeToLogString</span>(<span class=sig-arg>msSinceEpoch</span>=<span class=sig-default>None</span>)</span>
</h3>
Convert seconds since epoch to log datetime string.
<dl><dt></dt><dd>
</dd></dl>
</td></tr></table>
<a name="datetimeToString"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
<h3><span class="sig"><span class="sig-name">datetimeToString</span>(<span class=sig-arg>msSinceEpoch</span>=<span class=sig-default>None</span>)</span>
</h3>
Convert seconds since epoch to HTTP datetime string.
<dl><dt></dt><dd>
</dd></dl>
</td></tr></table>
<a name="fromChunk"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
<h3><span class="sig"><span class="sig-name">fromChunk</span>(<span class=sig-arg>data</span>)</span>
</h3>
Convert chunk to string.
<dl><dt></dt><dd>
<dl><dt><b>Returns:</b></dt>
<dd>
tuple (result, remaining), may raise ValueError.
</dd>
</dl>
</dd></dl>
</td></tr></table>
<a name="parse_qs"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
<h3><span class="sig"><span class="sig-name">parse_qs</span>(<span class=sig-arg>qs</span>,
<span class=sig-arg>keep_blank_values</span>=<span class=sig-default>0</span>,
<span class=sig-arg>strict_parsing</span>=<span class=sig-default>0</span>,
<span class=sig-arg>unquote</span>=<span class=sig-default><Fake twisted.protocols._c_urlarg.unquote></span>)</span>
</h3>
like cgi.parse_qs, only with custom unquote function
<dl><dt></dt><dd>
</dd></dl>
</td></tr></table>
<a name="parseContentRange"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
<h3><span class="sig"><span class="sig-name">parseContentRange</span>(<span class=sig-arg>header</span>)</span>
</h3>
<p>Parse a content-range header into (start, end, realLength).</p>
realLength might be None if real length is not known ('*').
<dl><dt></dt><dd>
</dd></dl>
</td></tr></table>
<a name="stringToDatetime"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
<h3><span class="sig"><span class="sig-name">stringToDatetime</span>(<span class=sig-arg>dateString</span>)</span>
</h3>
Convert an HTTP date string to seconds since epoch.
<dl><dt></dt><dd>
</dd></dl>
</td></tr></table>
<a name="timegm"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
<h3><span class="sig"><span class="sig-name">timegm</span>(<span class=sig-arg>year</span>,
<span class=sig-arg>month</span>,
<span class=sig-arg>day</span>,
<span class=sig-arg>hour</span>,
<span class=sig-arg>minute</span>,
<span class=sig-arg>second</span>)</span>
</h3>
Convert time tuple in GMT to seconds since epoch, GMT
<dl><dt></dt><dd>
</dd></dl>
</td></tr></table>
<a name="toChunk"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
<h3><span class="sig"><span class="sig-name">toChunk</span>(<span class=sig-arg>data</span>)</span>
</h3>
Convert string to a chunk.
<dl><dt></dt><dd>
<dl><dt><b>Returns:</b></dt>
<dd>
a tuple of strings representing the chunked encoding of
data
</dd>
</dl>
</dd></dl>
</td></tr></table>
<br />
<!-- =========== START OF VARIABLE DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
<th colspan="2">Variable Details</th></tr>
</table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_CONTINUE"></a>
<h3>_CONTINUE</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="100"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
100 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_logDateTime"></a>
<h3>_logDateTime</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>NoneType</code>
</dd>
<span title="None"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
None </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_logDateTimeUsers"></a>
<h3>_logDateTimeUsers</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="0"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
0 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_resetLogDateTimeID"></a>
<h3>_resetLogDateTimeID</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>NoneType</code>
</dd>
<span title="None"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
None </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="ACCEPTED"></a>
<h3>ACCEPTED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="202"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
202 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="BAD_GATEWAY"></a>
<h3>BAD_GATEWAY</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="502"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
502 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="BAD_REQUEST"></a>
<h3>BAD_REQUEST</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="400"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
400 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="CACHED"></a>
<h3>CACHED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>str</code>
</dd>
<span title="'Magic constant returned by http.Request methods to set cache\nvalidation headers when the request is conditional and the value fails\nthe condition.'"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'''</span>Magic constant returned by http.Request methods to set cache
validation headers when the request is conditional and the value fails
the condition.<span class="variable-quote">'''</span> </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="CONFLICT"></a>
<h3>CONFLICT</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="409"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
409 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="CREATED"></a>
<h3>CREATED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="201"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
201 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="EXPECTATION_FAILED"></a>
<h3>EXPECTATION_FAILED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="417"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
417 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="FORBIDDEN"></a>
<h3>FORBIDDEN</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="403"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
403 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="FOUND"></a>
<h3>FOUND</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="302"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
302 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="GATEWAY_TIMEOUT"></a>
<h3>GATEWAY_TIMEOUT</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="504"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
504 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="GONE"></a>
<h3>GONE</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="410"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
410 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="HTTP_VERSION_NOT_SUPPORTED"></a>
<h3>HTTP_VERSION_NOT_SUPPORTED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="505"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
505 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="INSUFFICIENT_STORAGE_SPACE"></a>
<h3>INSUFFICIENT_STORAGE_SPACE</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="507"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
507 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="INTERNAL_SERVER_ERROR"></a>
<h3>INTERNAL_SERVER_ERROR</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="500"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
500 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="LENGTH_REQUIRED"></a>
<h3>LENGTH_REQUIRED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="411"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
411 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="monthname"></a>
<h3>monthname</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>list</code>
</dd>
<span title="[None, 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
[None, 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug'] </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="MOVED_PERMANENTLY"></a>
<h3>MOVED_PERMANENTLY</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="301"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
301 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="MULTI_STATUS"></a>
<h3>MULTI_STATUS</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="207"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
207 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="MULTIPLE_CHOICE"></a>
<h3>MULTIPLE_CHOICE</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="300"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
300 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="NO_BODY_CODES"></a>
<h3>NO_BODY_CODES</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>tuple</code>
</dd>
<span title="(204, 304)"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
(204, 304) </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="NO_CONTENT"></a>
<h3>NO_CONTENT</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="204"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
204 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="NON_AUTHORITATIVE_INFORMATION"></a>
<h3>NON_AUTHORITATIVE_INFORMATION</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="203"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
203 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="NOT_ACCEPTABLE"></a>
<h3>NOT_ACCEPTABLE</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="406"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
406 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="NOT_ALLOWED"></a>
<h3>NOT_ALLOWED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="405"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
405 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="NOT_EXTENDED"></a>
<h3>NOT_EXTENDED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="510"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
510 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="NOT_FOUND"></a>
<h3>NOT_FOUND</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="404"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
404 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="NOT_IMPLEMENTED"></a>
<h3>NOT_IMPLEMENTED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="501"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
501 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="NOT_MODIFIED"></a>
<h3>NOT_MODIFIED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="304"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
304 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="OK"></a>
<h3>OK</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="200"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
200 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="PARTIAL_CONTENT"></a>
<h3>PARTIAL_CONTENT</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="206"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
206 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="PAYMENT_REQUIRED"></a>
<h3>PAYMENT_REQUIRED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="402"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
402 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="PRECONDITION_FAILED"></a>
<h3>PRECONDITION_FAILED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="412"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
412 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="protocol_version"></a>
<h3>protocol_version</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>str</code>
</dd>
<span title="'HTTP/1.1'"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'</span>HTTP/1.1<span class="variable-quote">'</span> </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="PROXY_AUTH_REQUIRED"></a>
<h3>PROXY_AUTH_REQUIRED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="407"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
407 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="REQUEST_ENTITY_TOO_LARGE"></a>
<h3>REQUEST_ENTITY_TOO_LARGE</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="413"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
413 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="REQUEST_TIMEOUT"></a>
<h3>REQUEST_TIMEOUT</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="408"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
408 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="REQUEST_URI_TOO_LONG"></a>
<h3>REQUEST_URI_TOO_LONG</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="414"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
414 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="REQUESTED_RANGE_NOT_SATISFIABLE"></a>
<h3>REQUESTED_RANGE_NOT_SATISFIABLE</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="416"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
416 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="RESET_CONTENT"></a>
<h3>RESET_CONTENT</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="205"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
205 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="RESPONSES"></a>
<h3>RESPONSES</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>dict</code>
</dd>
<span title="{400: 'Bad Request', 401: 'Unauthorized', 402: 'Payment Required', 403: 'Forbidden', 404: 'Not Found', 405: 'Method Not Allowed', 406: 'Not Acceptable', 407: 'Proxy Authentication Required', 408: 'Request Time-out', 409: 'Conflict', 410: 'Gone', 411: 'Length Required', 412: 'Precondition Failed', 413: 'Request Entity Too Large', 414: 'Request-URI Too Long', 415: 'Unsupported Media Type', 416: 'Requested Range not satisfiable', 417: 'Expectation Failed', 300: 'Multiple Choices', 301: 'Moved Permanently', 302: 'Found', 303: 'See Other', 304: 'Not Modified', 305: 'Use Proxy', 307: 'Temporary R..."> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
{100: 'Continue',
101: 'Switching Protocols',
200: 'OK',
201: 'Created',
202: 'Accepted',
203: 'Non-Authoritative Information',
204: 'No Content',
205: 'Reset Content.',
<span class="variable-ellipsis">...</span> </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="responses"></a>
<h3>responses</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>dict</code>
</dd>
<span title="{400: 'Bad Request', 401: 'Unauthorized', 402: 'Payment Required', 403: 'Forbidden', 404: 'Not Found', 405: 'Method Not Allowed', 406: 'Not Acceptable', 407: 'Proxy Authentication Required', 408: 'Request Time-out', 409: 'Conflict', 410: 'Gone', 411: 'Length Required', 412: 'Precondition Failed', 413: 'Request Entity Too Large', 414: 'Request-URI Too Long', 415: 'Unsupported Media Type', 416: 'Requested Range not satisfiable', 417: 'Expectation Failed', 300: 'Multiple Choices', 301: 'Moved Permanently', 302: 'Found', 303: 'See Other', 304: 'Not Modified', 305: 'Use Proxy', 307: 'Temporary R..."> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
{100: 'Continue',
101: 'Switching Protocols',
200: 'OK',
201: 'Created',
202: 'Accepted',
203: 'Non-Authoritative Information',
204: 'No Content',
205: 'Reset Content.',
<span class="variable-ellipsis">...</span> </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="SEE_OTHER"></a>
<h3>SEE_OTHER</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="303"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
303 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="SERVICE_UNAVAILABLE"></a>
<h3>SERVICE_UNAVAILABLE</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="503"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
503 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="SWITCHING"></a>
<h3>SWITCHING</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="101"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
101 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="TEMPORARY_REDIRECT"></a>
<h3>TEMPORARY_REDIRECT</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="307"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
307 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="UNAUTHORIZED"></a>
<h3>UNAUTHORIZED</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="401"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
401 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="UNSUPPORTED_MEDIA_TYPE"></a>
<h3>UNSUPPORTED_MEDIA_TYPE</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="415"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
415 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="USE_PROXY"></a>
<h3>USE_PROXY</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>int</code>
</dd>
<span title="305"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
305 </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="weekdayname"></a>
<h3>weekdayname</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>list</code>
</dd>
<span title="['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<br />
<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
<tr valign="center">
<th class="navbar"> <a class="navbar" href="twisted.html">Home</a> </th>
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center">
<p class="nomargin">
<a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted 1.3.0rc1</a>
</p></th></tr></table>
</th>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left"><font size="-2">Generated by Epydoc 2.0 on Sat May 15 20:08:12 2004</font></td>
<td align="right"><a href="http://epydoc.sourceforge.net"
><font size="-2">http://epydoc.sf.net</font></a></td>
</tr>
</table>
</body>
</html>