130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
cgi_reply();
fossil_exit(0);
}
/*
** Accept a new Last-Modified time. This routine should be called by
** page generators that know a valid last-modified time. This routine
** might generate a 304 Not Modified reply and exit(), never returnning.
** Or, if not, it will cause a Last-Modified: header to be included in the
** reply.
*/
void etag_last_modified(sqlite3_int64 mtime){
const char *zIfModifiedSince;
sqlite3_int64 x, exeMtime;
assert( iEtagMtime==0 ); /* Only call this routine once */
|
|
|
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
cgi_reply();
fossil_exit(0);
}
/*
** Accept a new Last-Modified time. This routine should be called by
** page generators that know a valid last-modified time. This routine
** might generate a 304 Not Modified reply and exit(), never returning.
** Or, if not, it will cause a Last-Modified: header to be included in the
** reply.
*/
void etag_last_modified(sqlite3_int64 mtime){
const char *zIfModifiedSince;
sqlite3_int64 x, exeMtime;
assert( iEtagMtime==0 ); /* Only call this routine once */
|