[Zope-dev] xml-rpc changes between 2.7.0 and 2.7.3 ??

Alan Milligan alan at balclutha.org
Mon Oct 11 18:16:22 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I had a client that used to work on 2.7.0, and now doesn't on 2.7.3.

The problem would appear to be that it's not substituting the
xmlrpc.Response class for a GET request on a text/xml content type and
therefore just delegating to the str() function instead of wrapping it
in the xml-rpc xml response tags.

I'm a little confused about this, as this only appears to happen in
HTTPRequest::processInputs which didn't seem to be invoked for my
xml-rpc call anyway ...

tcpdump follows for the sceptics ...

j..
08:05:04.901469 IP mistress.balclutha.org.34257 >
mistress.balclutha.org.zope: P 1:456(455) ack 1 win 32767
<nop,nop,timestamp 225097763 225097723>
E..... at .@.)..............W.....x...........
j..GET /last-bastion.net/junk/rpm/RPC2/$RHN/mail/listPackages/1 HTTP/1.1
Host: localhost:8080
Accept-Encoding: identity
x-client-version: 1
x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc
(version 1.40)
x-up2date-version:
user-agent: rhn.rpclib.py/$Revision: 1.40 $
x-rhn-transport-capability: follow-redirects=1
x-rhn-auth-channels: ['mail', '1']
content-type: text/xml
x-info: RPC Processor (C) Red Hat, Inc (version 1.44)



08:05:04.901498 IP mistress.balclutha.org.zope >
mistress.balclutha.org.34257: . ack 456 win 32767 <nop,nop,timestamp
225097763 225097763>
E..4i. at .@..>...............x.W.............

j.#
08:05:04.910507 IP mistress.balclutha.org.zope >
mistress.balclutha.org.34257: P 1:871(870) ack 456 win 32767
<nop,nop,timestamp 225097772 225097763>
E...i. at .@..................x.W.............
j.#HTTP/1.1 200 OK
Server: Zope/(Zope 2.7.3b1-0, python 2.3.3, linux2) ZServer/1.1 Plone/2.0.4
Date: Mon, 11 Oct 2004 22:05:04 GMT
Content-Length: 690
Content-Type: text/plain

[['EnchantMail', '2.0.0', '4', '', 'i386', '121577', 'mail'],
['courier', '0.47', '1', '', 'i386', '4172641', 'mail'],
['courier-imapd', '0.47', '1', '', 'i386', '400894', 'mail'],
['courier-ldap', '0.47', '1', '', 'i386', '109401', 'mail'],
['courier-maildrop', '0.47', '1', '', 'i386', '1178663', 'mail'],
['courier-maildrop-wrapper', '0.47', '1', '', 'i386', '0', 'mail'],
['courier-mlm', '0.47', '1', '', 'i386', '250756', 'mail'],
['courier-pop3d', '0.47', '1', '', 'i386', '115327', 'mail'],
['courier-smtpauth', '0.47', '1', '', 'i386', '257063', 'mail'],
['courier-webadmin', '0.47', '1', '',
~         'i386', '22047', 'mail'], ['courier-webmail', '0.47', '1', '',
'i386', '970798', 'mail']]08:05:04.910534 IP
mistress.balclutha.org.34257 > mistress.balclutha.org.zope: . ack 871
win 32767 <nop,nop,timestamp 225097772 225097772>
E..4.. at .@.+..............W...........Y.....



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBawY2CfroLk4EZpkRAmtFAKDVLmORsmw6LacIUizLNn111t1J+wCffq7w
3Pbm2RrCvIFKlkxuUg1BDaA=
=MbC0
-----END PGP SIGNATURE-----


More information about the Zope-Dev mailing list