# File mod_docs/local.rb, line 383 def publish_if_unmodified_since(stat, request, response) mtime = Time.parse(request.header('If-Unmodified-Since')) if (stat.mtime > mtime) then response.status = 412 # Precondition Failed response.start_body return true end false end