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
282 Method setUp Undocumented
288 Method tearDown Undocumented
295 Method test_large_response_contents_without_specified_size Test that a 'large' resource is completely read even though the size is
318 Method test_head_does_not_wait_for_content Sending a head to the server. As soon as the headers (and the empty
341 Method test_no_content_does_not_wait_for_content A request that is answered with "no content". As soon as the headers are
362 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 2009-02-16 19:15:05.