Class e.p.h.t.t.TestElisaAdvancedHttpClient(TestCase, SetupServerMixin):

Part of elisa.plugins.http_client.tests.test_http_client View In Hierarchy

This test case tests the ElisaAdvancedHttpClient class on HTTP redirections and on reading large responses.
Line # Kind Name Docs
1123 Method setUp Undocumented
1126 Method tearDown Undocumented
1129 Method request_done Undocumented
1133 Method test_no_redirection Test a simple HTTP request without redirection.
1144 Method test_simple_redirection Test a single HTTP redirection.
1155 Method test_copy_headers_on_redirection test that the headers are copied for the redirection
1172 Method test_double_redirection Test a double HTTP redirection. The first request redirects to a
1183 Method test_redirection_and_close Test a single HTTP redirection when the server closes the connection
1194 Method test_response_contents Test the actual contents of the response returned by the server.
1222 Method test_large_response_contents Test that a 'large' resource is completely read.

Inherited from SetupServerMixin:

Line # Kind Name Docs
193 Method setUpClass Undocumented
198 Method tearDownClass Undocumented
def setUp(self):
Undocumented
def tearDown(self):
Undocumented
def request_done(self, response):
Undocumented
def test_no_redirection(self):
Test a simple HTTP request without redirection.
def test_simple_redirection(self):
Test a single HTTP redirection.
def test_copy_headers_on_redirection(self):
test that the headers are copied for the redirection
def test_double_redirection(self):
Test a double HTTP redirection. The first request redirects to a resource which in turn redirects to another one.
def test_redirection_and_close(self):
Test a single HTTP redirection when the server closes the connection after replying to the first request.
def test_response_contents(self):
Test the actual contents of the response returned by the server.
def test_large_response_contents(self):
Test that a 'large' resource is completely read.
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.