parameters: (self, body)
return_statement: return parser.parse(data)
docstring: Send the body.
docstring_summary: Send the body.
docstring_tokens: Send the body .
function: def sendBody(self, body):
          """Send the body.
          """
  
          parser = HttpbParse(True)
  
          # start new session
          conn = httplib.HTTPConnection(self.bosh_service.netloc)
          conn.request("POST", self.bosh_service.path, 
  		     body.toXml(), self.headers)
  
          response = conn.getresponse()
  	data = ''
          if response.status == 200:
              data = response.read()
          conn.close()
  
          return parser.parse(data)
function_tokens: def sendBody ( self , body ) : parser = HttpbParse ( True ) # start new session conn = httplib . HTTPConnection ( self . bosh_service . netloc ) conn . request ( "POST" , self . bosh_service . path , body . toXml ( ) , self . headers ) response = conn . getresponse ( ) data = '' if response . status == 200 : data = response . read ( ) conn . close ( ) return parser . parse ( data )