Changeset 607


Ignore:
Timestamp:
Jun 16, 2008, 4:08:39 AM (16 years ago)
Author:
andersk
Message:

404 errors are not email-worthy.

File:
1 edited

Legend:

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

    r603 r607  
    467467def badOperation(u, s, e):
    468468    """Function called when accessing an unknown URI."""
    469     raise CodeError("Unknown operation")
     469    return ({'Status': '404 Not Found'}, 'Invalid operation.')
    470470
    471471def infoDict(username, state, machine):
Note: See TracChangeset for help on using the changeset viewer.