Searched refs:last_modified (Results 1 – 14 of 14) sorted by relevance
65 self.last_modified = 082 def set_content(self, content, last_modified=None): argument84 if last_modified is None:85 self.last_modified = time.time()87 self.last_modified = last_modified90 LAST_MODIFIED.update(self.headers, time=self.last_modified)107 return '"%s-%s"' % (self.last_modified, self.content_length)137 and client_clock >= int(self.last_modified)):191 if not force and stat.st_mtime == self.last_modified:193 self.last_modified = stat.st_mtime[all …]
174 last_modified = resp.last_modified177 return last_modified and (last_modified <= self.date)
60 last_modified = stat.st_mtime,
534 last_modified = date_header('Last-Modified', '14.29') variable in Response932 self.last_modified = datetime.utcnow()1057 elif req.if_modified_since and self.last_modified:1058 status304 = self.last_modified <= req.if_modified_since
440 long last_modified=resource.lastModified(); in handle() local456 if (last_modified>0) in handle()459 if (if_modified>0 && last_modified/1000<=if_modified/1000) in handle()472 response.setDateHeader(HttpHeaders.LAST_MODIFIED,last_modified); in handle()
43 last_modified x x last_modified
87 last_modified = res.header('last-modified')88 res = harness.get("/",headers={'if-modified-since': last_modified})90 res = harness.get("/",headers={'if-modified-since': last_modified + \
121 ... res.last_modified = os.path.getmtime(filename)126 Now, with ``conditional_response`` on, and with ``last_modified`` and146 >>> req3.if_modified_since = res.last_modified
345 resp.last_modified = page.mtime404 resp.last_modified = page.mtime412 To allow conditional responses we set ``resp.last_modified``. You can632 resp.last_modified = page.mtime
435 >>> req.if_range.match(etag='some-etag', last_modified=datetime(2005, 1, 1, 12, 0))749 >>> res.last_modified = datetime(2007, 1, 1, 12, 0, tzinfo=UTC)975 ... last_modified=datetime(2005, 1, 1, 12, 0, tzinfo=UTC))
253 ``response.last_modified = os.path.getmtime(filename)``.
630 cache_control and last_modified.
101 resp.last_modified = page.mtime
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...