Changeset 587 for trunk/packages


Ignore:
Timestamp:
Jun 4, 2008, 1:12:59 AM (16 years ago)
Author:
ecprice
Message:

Fix for modified status headers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/main.py

    r586 r587  
    676676%s
    677677----''' % (str(err), traceback.format_exc())
    678         self.start('200 OK', headers.items())
     678        status = headers.setdefault('Status', '200 OK')
     679        del headers['Status']
     680        self.start(status, headers.items())
    679681        yield output_string
    680682        if fields.has_key('timedebug'):
Note: See TracChangeset for help on using the changeset viewer.