mCacheEntry->NoteDownloadTime(mStartTime, PR_Now()); mCacheEntry->ClearFlag(nsCachedNetData::UPDATE_IN_PROGRESS);
    NS_IMETHOD Close() {        mCacheEntry->NoteDownloadTime(mStartTime, PR_Now());        mCacheEntry->ClearFlag(nsCachedNetData::UPDATE_IN_PROGRESS);        return mOutputStream->Close();    }