blob: 8be0ceba3d890081d23bff286caa7567eb1c30ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{{
###
# response._vars contains the dictionary returned by thecontroller action
###
try:
from gluon.serializers import xml
response.write(xml(response._vars),escape=False)
response.headers['Content-Type']='text/xml'
except:
raise HTTP(405,'no xml')
}}
|