Changeset 19:29a7178b189d in livinglogic.python.nightshade

Show
Ignore:
Timestamp:
05/19/06 11:36:34 (14 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Fix ETag logic.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • nightshade.py

    r18 r19  
    209209        hasetag = False 
    210210        etag = result.get("etag", None) 
    211         if etag is None: 
     211        if etag is not None: 
    212212            cherrypy.response.headers["ETag"] = etag 
    213213            hasetag = True