Changeset 588 for trunk/packages


Ignore:
Timestamp:
Jun 4, 2008, 1:53:21 PM (17 years ago)
Author:
andersk
Message:

Redirect with 303 See Other.

File:
1 edited

Legend:

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

    r587 r588  
    340340    elif back == 'info':
    341341        machine = validation.Validate(username, state, machine_id=fields.getfirst('machine_id')).machine
    342         return ({'Status': '302',
     342        return ({'Status': '303 See Other',
    343343                 'Location': '/info?machine_id=%d' % machine.machine_id},
    344344                "You shouldn't see this message.")
Note: See TracChangeset for help on using the changeset viewer.