XML over HTTP in/out of TG2?

2 views
Skip to first unread message

AFO

unread,
May 28, 2009, 1:45:14 PM5/28/09
to TurboGears
Hello,

Are there any docs that can get me started with accepting via POST an
XML (utf-8 encoded) message, parsing that into an object, and
returning a new XML message serialized from some object?

Thank you,
:)

Jorge Vargas

unread,
May 29, 2009, 12:18:00 AM5/29/09
to turbo...@googlegroups.com
@expose()
def consumer(self,xml):
<use your favorite xml transformation library>
return str(new_xml)

Please see the other thread on the content_type bug.

> Thank you,
>  :)
> >
>
Reply all
Reply to author
Forward
0 new messages