Package aquarium :: Package parse :: Module IfModifiedSince
[show private | hide private]
[frames | no frames]

Module aquarium.parse.IfModifiedSince

Parse the If-Modified-Since header.


Function Summary
  wasModifiedSince(header, mtime, size)
Was something modified since the user last downloaded it?

Function Details

wasModifiedSince(header=None, mtime=0, size=0)

Was something modified since the user last downloaded it?

header
This is the value of the If-Modified-Since header. If this is None, I'll just return True.
mtime
This is the modification time of the item we're talking about.
size
This is the size of the item we're talking about.

Generated by Epydoc 2.1 on Mon Jan 1 16:34:19 2007 http://epydoc.sf.net