Changeset 4413


Ignore:
Timestamp:
06/11/08 15:00:55 (11 years ago)
Author:
domlowe
Message:

fixing content response types

File:
1 edited

Legend:

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

    r4412 r4413  
    195195            for queryid in storedqueryid.split(','): 
    196196                c.storedqueries[queryid]=self.layerMapper.queryDescriptions.queries[queryid]        
     197        response.headers['Content-Type'] = 'text/xml' 
    197198        t = ows_controller.templateLoader.load('wfs_describestoredqueries.xml') 
    198199        return t.generate(c=c).render()   
     
    202203        c.storedqueries = self.layerMapper.queryDescriptions.queries 
    203204        t = ows_controller.templateLoader.load('wfs_liststoredqueries.xml') 
    204         temp=t.generate(c=c) 
     205        response.headers['Content-Type'] = 'text/xml' 
    205206        return t.generate(c=c).render()  
Note: See TracChangeset for help on using the changeset viewer.