Changeset 4058 for cows


Ignore:
Timestamp:
23/07/08 15:04:50 (11 years ago)
Author:
spascoe
Message:

Corrected start_response calling behaviour

Location:
cows/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/ows_controller.py

    r4021 r4058  
    8484 
    8585                tmpl = templateLoader.load('exception_report.xml') 
    86                 response.write(tmpl.generate(report=e.report).render('xml')) 
    87                 response.headers['content-type'] = 'text/xml' 
    88                 return response 
     86                start_response('200 OK', [('Content-type', 'text/xml')]) 
     87                return tmpl.generate(report=e.report).serialize('xml') 
    8988 
    9089    def _loadOwsParams(self): 
  • cows/trunk/setup.cfg

    r2480 r4058  
    11[egg_info] 
    2 tag_build = dev 
    3 tag_svn_revision = true 
     2tag_build = rc3 
     3#tag_svn_revision = true 
Note: See TracChangeset for help on using the changeset viewer.