• Julien Cristau's avatar
    [web/httpcache] fix Last-Modified generation · a2091fa8cb2c
    Julien Cristau authored
    time.mktime takes a time tuple in *local* time.  We have an UTC datetime coming
    from the last_modified method, which we were interpreting as local time,
    leading to hilarity.  Use calendar.timegm instead.
    
    Add tests for Last-Modified generation of the 'download' and 'manage'
    views.
    a2091fa8cb2c