Changeset 4066


Ignore:
Timestamp:
25/07/08 12:08:59 (11 years ago)
Author:
pjkersha
Message:

Fix related to AuthKit? IndexError?: OwsController?.call excpetion handling was not calling its parent controller call method so start_response was not called. Added call to start_response() call. Set code to '400 Bad Request' for now but OGC spec may require '200 OK'.

File:
1 edited

Legend:

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

    r3992 r4066  
    9090            except OWS_E.OwsError, e: 
    9191                logger.exception(e) 
    92                 response.headers['content-type'] = 'text/xml' 
     92                start_response('400 Bad Request',[('Content-type','text/xml')]) 
     93#                response.headers['content-type'] = 'text/xml' 
    9394                return render('exception_report', report=e.report, format='xml') 
    9495 
Note: See TracChangeset for help on using the changeset viewer.