serving everything as xhtml
git-svn-id: http://yolanda.mister-muffin.de/svn@371 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
2cba7d55f9
commit
b6558fb1bf
2 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue