From b6558fb1bf70ef56675fa16eb9581a4c85195bab Mon Sep 17 00:00:00 2001 From: josch Date: Sat, 16 Aug 2008 08:20:58 +0000 Subject: [PATCH] serving everything as xhtml git-svn-id: http://yolanda.mister-muffin.de/svn@371 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/test.ini | 1 + trunk/yolanda/lib/base.py | 1 + 2 files changed, 2 insertions(+) diff --git a/trunk/test.ini b/trunk/test.ini index 50367f9..3857529 100644 --- a/trunk/test.ini +++ b/trunk/test.ini @@ -17,5 +17,6 @@ port = 5000 [app:main] use = config:development.ini +sqlalchemy.url = sqlite:///%(here)s/mydatabasefilename.sqlite # Add additional test specific configuration options as necessary. diff --git a/trunk/yolanda/lib/base.py b/trunk/yolanda/lib/base.py index 5beaf03..9b12a78 100644 --- a/trunk/yolanda/lib/base.py +++ b/trunk/yolanda/lib/base.py @@ -20,6 +20,7 @@ class BaseController(WSGIController): # WSGIController.__call__ dispatches to the Controller method # the request is routed to. This routing information is # available in environ['pylons.routes_dict'] + response.headers['Content-type'] = "application/xml" return WSGIController.__call__(self, environ, start_response) # Include the '_' function in the public names