Changeset 3681 for TI05-delivery


Ignore:
Timestamp:
26/03/08 10:14:46 (11 years ago)
Author:
cbyrom
Message:

Fix content type for creating google earth kml docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/selectedItems.py

    r3660 r3681  
    3939                # NB, set header info correctly to open as a file 
    4040                #response.write(render('kml_aggregate', format='xml')) 
    41                 response.headers['Content-Type'] = 'text/xml' 
     41                response.headers['Content-Type'] = 'text/plain or application/vnd.google-earth.kml+xml' 
    4242                response.headers['Content-Disposition'] = 'attachment;filename=kmlAggregate.kml' 
    4343                return render('kml_aggregate', format='xml') 
Note: See TracChangeset for help on using the changeset viewer.