Omit the headers from XML message

kaklis at gmail.com kaklis at gmail.com
Fri May 28 11:24:21 EDT 2010


Hi i have the following xml message i want to omit the headers, any
hints?

POST /test/pcp/Listener HTTP/1.1
User-Agent: Jakarta Commons-HttpClient/3.1
Host: 127.0.0.1:50002
Content-Length: 547

<pt_control_message xmlns="http://demo.com/demo">
  <cmdReply>
    <sessionList>
      <session>
        <id>scvdcvsdv</id>
        <subscriberId>sdfv</subscriberId>
        <subscriberName>Antonis Kaklis</subscriberName>
        <presence>away</presence>
        <note>testing the new client</note>
        <ipAddress>jlkdjf</ipAddress>
        <deviceClass>android</deviceClass>
      </session>
    </sessionList>
  </cmdReply>
</pt_control_message>



More information about the Python-list mailing list