Class e.p.h.t.t.TestElisaHttpClientRawData(TestCase):

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

Tests that need the RawServer as they try to ensure the right behaviour according to the message length. See the RFC for more information: http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.4
Line # Kind Name Docs
280 Method setUp Undocumented
286 Method tearDown Undocumented
293 Method test_large_response_contents_without_specified_size Test that a 'large' resource is completely read even though the size is
316 Method test_head_does_not_wait_for_content Sending a head to the server. As soon as the headers (and the empty
339 Method test_no_content_does_not_wait_for_content A request that is answered with "no content". As soon as the headers are
360 Method test_not_modified_does_not_wait_for_content A request that is answered with a "not modified". As soon as the headers
def setUp(self):
Undocumented
def tearDown(self):
Undocumented
def test_large_response_contents_without_specified_size(self):
Test that a 'large' resource is completely read even though the size is not specified.
def test_head_does_not_wait_for_content(self):
Sending a head to the server. As soon as the headers (and the empty line) are back the deferred should fire.
def test_no_content_does_not_wait_for_content(self):
A request that is answered with "no content". As soon as the headers are here the callback should fire and there should not be any content at all.
def test_not_modified_does_not_wait_for_content(self):
A request that is answered with a "not modified". As soon as the headers are here the callback should fire and there should be no content at all.
API Documentation for Elisa Media Center, generated by pydoctor at 2008-09-01 20:02:12.