Permalink
Browse files

Update xmlfiles.zh-cn.md ,change index to response

  • Loading branch information...
1 parent b7fa952 commit 5be6b5c7b2e24a9a5eba9514e15933c28b94aa3f @leiqin leiqin committed Dec 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 cookbook/xmlfiles.zh-cn.md
@@ -37,7 +37,7 @@ title: 提供XML访问
class index:
def GET(self, code):
web.header('Content-Type', 'text/xml')
- return render.index(code)
+ return render.response(code)
web.webapi.internalerror = web.debugerror
- if __name__ == '__main__': app.run()
+ if __name__ == '__main__': app.run()

0 comments on commit 5be6b5c

Please sign in to comment.