Changeset 20:79048e314e9f in livinglogic.python.nightshade

Show
Ignore:
Timestamp:
05/19/06 11:39:21 (14 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Tags:
rel-0-3
Message:

Fix header name.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • nightshade.py

    r19 r20  
    196196        expires = result.get("expires", None) 
    197197        if expires is not None: 
    198             cherrypy.response.headers["Expire"] = httpdate(now + datetime.timedelta(days=expires)) 
     198            cherrypy.response.headers["Expires"] = httpdate(now + datetime.timedelta(days=expires)) 
    199199        lastmodified = result.get("lastmodified", None) 
    200200        if lastmodified is not None: