1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <title>lxml.tests.dummy_http_server.WebServer</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
33 <!-- Project homepage -->
34 <th class="navbar" align="right" width="100%">
35 <table border="0" cellpadding="0" cellspacing="0">
36 <tr><th class="navbar" align="center"
37 ><a class="navbar" target="_top" href="/">lxml API</a></th>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.tests-module.html">Package tests</a> ::
47 <a href="lxml.tests.dummy_http_server-module.html">Module dummy_http_server</a> ::
52 <table cellpadding="0" cellspacing="0">
53 <!-- hide/show private -->
54 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55 onclick="toggle_private();">hide private</a>]</span></td></tr>
56 <tr><td align="right"><span class="options"
57 >[<a href="frames.html" target="_top">frames</a
58 >] | <a href="lxml.tests.dummy_http_server.WebServer-class.html"
59 target="_top">no frames</a>]</span></td></tr>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class WebServer</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.dummy_http_server-pysrc.html#WebServer">source code</a></span></p>
66 <pre class="base-tree">
67 SocketServer.BaseServer --+
69 SocketServer.TCPServer --+
71 BaseHTTPServer.HTTPServer --+
73 wsgiref.simple_server.WSGIServer --+
75 SocketServer.ThreadingMixIn --+
77 <strong class="uidshort">WebServer</strong>
81 A web server that starts a new thread for each request.
83 <!-- ==================== INSTANCE METHODS ==================== -->
84 <a name="section-InstanceMethods"></a>
85 <table class="summary" border="1" cellpadding="3"
86 cellspacing="0" width="100%" bgcolor="white">
87 <tr bgcolor="#70b0f0" class="table-header">
88 <td colspan="2" class="table-header">
89 <table border="0" cellpadding="0" cellspacing="0" width="100%">
91 <td align="left"><span class="table-header">Instance Methods</span></td>
92 <td align="right" valign="top"
93 ><span class="options">[<a href="#section-InstanceMethods"
94 class="privatelink" onclick="toggle_private();"
95 >hide private</a>]</span></td>
101 <td colspan="2" class="summary">
102 <p class="indent-wrapped-lines"><b>Inherited from <code>wsgiref.simple_server.WSGIServer</code></b>:
103 <code>get_app</code>,
104 <code>server_bind</code>,
105 <code>set_app</code>,
106 <code>setup_environ</code>
108 <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.TCPServer</code></b>:
109 <code>__init__</code>,
110 <code>close_request</code>,
112 <code>get_request</code>,
113 <code>server_activate</code>,
114 <code>server_close</code>,
115 <code>shutdown_request</code>
117 <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.BaseServer</code></b>:
118 <code>finish_request</code>,
119 <code>handle_error</code>,
120 <code>handle_request</code>,
121 <code>handle_timeout</code>,
122 <code>process_request</code>,
123 <code>serve_forever</code>,
124 <code>shutdown</code>,
125 <code>verify_request</code>
127 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.BaseServer</code></b> (private):
128 <code>_handle_request_noblock</code>
130 <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.ThreadingMixIn</code></b>:
131 <code>process_request_thread</code>
136 <!-- ==================== CLASS VARIABLES ==================== -->
137 <a name="section-ClassVariables"></a>
138 <table class="summary" border="1" cellpadding="3"
139 cellspacing="0" width="100%" bgcolor="white">
140 <tr bgcolor="#70b0f0" class="table-header">
141 <td colspan="2" class="table-header">
142 <table border="0" cellpadding="0" cellspacing="0" width="100%">
144 <td align="left"><span class="table-header">Class Variables</span></td>
145 <td align="right" valign="top"
146 ><span class="options">[<a href="#section-ClassVariables"
147 class="privatelink" onclick="toggle_private();"
148 >hide private</a>]</span></td>
154 <td colspan="2" class="summary">
155 <p class="indent-wrapped-lines"><b>Inherited from <code>wsgiref.simple_server.WSGIServer</code></b>:
156 <code>application</code>
158 <p class="indent-wrapped-lines"><b>Inherited from <code>BaseHTTPServer.HTTPServer</code></b>:
159 <code>allow_reuse_address</code>
161 <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.TCPServer</code></b>:
162 <code>address_family</code>,
163 <code>request_queue_size</code>,
164 <code>socket_type</code>
166 <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.BaseServer</code></b>:
169 <p class="indent-wrapped-lines"><b>Inherited from <code>SocketServer.ThreadingMixIn</code></b>:
170 <code>daemon_threads</code>
175 <!-- ==================== NAVIGATION BAR ==================== -->
176 <table class="navbar" border="0" width="100%" cellpadding="0"
177 bgcolor="#a0c0ff" cellspacing="0">
180 <th> <a
181 href="lxml-module.html">Home</a> </th>
184 <th> <a
185 href="module-tree.html">Trees</a> </th>
188 <th> <a
189 href="identifier-index.html">Indices</a> </th>
192 <th> <a
193 href="help.html">Help</a> </th>
195 <!-- Project homepage -->
196 <th class="navbar" align="right" width="100%">
197 <table border="0" cellpadding="0" cellspacing="0">
198 <tr><th class="navbar" align="center"
199 ><a class="navbar" target="_top" href="/">lxml API</a></th>
203 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
205 <td align="left" class="footer">
206 Generated by Epydoc 3.0.1
207 on Thu Jul 9 18:29:53 2020
209 <td align="right" class="footer">
210 <a target="mainFrame" href="http://epydoc.sourceforge.net"
211 >http://epydoc.sourceforge.net</a>
216 <script type="text/javascript">
218 // Private objects are initially displayed (because if
219 // javascript is turned off then we want them to be
220 // visible); but by default, we want to hide them. So hide
221 // them unless we have a cookie that says to show them.