Changeset 9:9a866f77d75b in livinglogic.python.nightshade

Show
Ignore:
Timestamp:
05/10/06 12:09:40 (13 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Tags:
rel-0-2-1
Message:

Now the status code can be set via the status parameter.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • nightshade.py

    r8 r9  
    164164            hasetag = True 
    165165 
     166        # Get status code 
     167        status = result.get("status", None) 
     168        if status is not None: 
     169            cherrypy.response.status = status 
     170 
    166171        # Get response body 
    167172        if "out" in result: 
  • setup.py

    r8 r9  
    5252tools.setup( 
    5353    name="ll-nightshade", 
    54     version="0.2", 
     54    version="0.2.1", 
    5555    description="Serve the output of TOXIC functions/procedures with CherryPy", 
    5656    long_description=DESCRIPTION,