cherrypy.test.test_conn module

Tests for TCP connection handling, including proper and timely close.

class cherrypy.test.test_conn.BadRequestTests(methodName='runTest')[source]

Bases: CPWebCase

static setup_server()
test_No_CRLF()[source]
class cherrypy.test.test_conn.ConnectionCloseTests(methodName='runTest')[source]

Bases: CPWebCase

_streaming(set_cl)[source]
static setup_server()
test_HTTP10_KeepAlive()[source]
test_HTTP11()[source]
test_Streaming_no_len()[source]
test_Streaming_with_len()[source]
class cherrypy.test.test_conn.ConnectionTests(methodName='runTest')[source]

Bases: CPWebCase

static setup_server()
test_598()[source]
test_Chunked_Encoding()[source]
test_Content_Length_in()[source]
test_Content_Length_out_postheaders()[source]
test_Content_Length_out_preheaders()[source]
test_No_Message_Body()[source]
test_readall_or_close()[source]
class cherrypy.test.test_conn.LimitedRequestQueueTests(methodName='runTest')[source]

Bases: CPWebCase

static setup_server()
test_queue_full()[source]
class cherrypy.test.test_conn.PipelineTests(methodName='runTest')[source]

Bases: CPWebCase

static setup_server()
test_100_Continue()[source]
test_HTTP11_Timeout()[source]
test_HTTP11_Timeout_after_request()[source]
test_HTTP11_pipelining()[source]
cherrypy.test.test_conn.setup_server()[source]
cherrypy.test.test_conn.setup_upload_server()[source]
cherrypy.test.test_conn.socket_reset_errors = [104, 'Remote end closed connection without response']

reset error numbers available on this platform