Changeset 15:7a364fc7a2a0 in livinglogic.python.nightshade

Show
Ignore:
Timestamp:
05/12/06 16:54:53 (13 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Invert (and fix) ETag logic.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • nightshade.py

    r14 r15  
    185185        hasetag = False 
    186186        etag = result.get("etag", None) 
    187         if etag is not None: 
     187        if etag is None: 
    188188            cherrypy.response.headers["ETag"] = etag 
    189189            hasetag = True