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