Use last_modified method instead of setting the header manually