Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
test.test_xmlrpc.GzipServerTestCase.Transport Class Reference

List of all members.

Public Member Functions

def parse_response
def send_content

Public Attributes


Static Public Attributes

 fake_gzip = False

Detailed Description

Definition at line 691 of file

Member Function Documentation

Definition at line 694 of file

00695         def parse_response(self, response):
00696             self.response_length=int(response.getheader("content-length", 0))
00697             return xmlrpclib.Transport.parse_response(self, response)

def test.test_xmlrpc.GzipServerTestCase.Transport.send_content (   self,

Definition at line 698 of file

00699         def send_content(self, connection, body):
00700             if self.fake_gzip:
00701                 #add a lone gzip header to induce decode error remotely
00702                 connection.putheader("Content-Encoding", "gzip")
00703             return xmlrpclib.Transport.send_content(self, connection, body)
    def setUp(self):

Here is the caller graph for this function:

Member Data Documentation

Definition at line 693 of file

Definition at line 695 of file

The documentation for this class was generated from the following file: