1a107601fa490ca69215facceebe3d0dc5e7f1f8 | 6bcef0037bdb2d139a15065c3f31e872bae79df3 | ||
---|---|---|---|
11 | which means a 304 should be returned. Otherwise returns the date | 11 | which means a 304 should be returned. Otherwise returns the date |
12 | that should be sent as the last-modified header.""" | 12 | that should be sent as the last-modified header.""" |
13 | from pylons import g | 13 | from pylons import g |
14 | | 14 | |
15 | prop = 'last_' + action | 15 | prop = 'last_' + action |
16 | if not hasattr(thing, prop): | 16 | if not hasattr(thing, prop): |
17 | last_modified = make_last_modified() | 17 | last_modified = make_last_modified() |