Changeset 2836 for TI05-delivery


Ignore:
Timestamp:
21/08/07 14:41:58 (12 years ago)
Author:
domlowe
Message:

fixing the header content-type for ows exception reports in OwsController?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/base.py

    r2831 r2836  
    7171        except OWS_E.OwsError, e: 
    7272            logger.exception(e) 
    73             return render_response('exception_report', report=e.report, 
    74                                    format='xml') 
     73            r=render_response('exception_report', report=e.report, format='xml') 
     74            r.headers['content-type'] = 'text/xml' 
     75            return r 
    7576             
    7677  
Note: See TracChangeset for help on using the changeset viewer.