jbe@255: request._initializers = {} jbe@255: request._in_progress = false jbe@255: jbe@270: request._mime_types = { jbe@346: html = "text/html", jbe@346: css = "text/css", jbe@346: js = "application/javascript", jbe@346: png = "image/png", jbe@346: jpeg = "image/jpeg", jbe@346: jpg = "image/jpeg", jbe@346: gif = "image/gif", jbe@346: svg = "image/svg+xml", jbe@346: pdf = "application/pdf", jbe@346: txt = "text/plain" jbe@270: } jbe@212: jbe@262: request.for_each(function() jbe/bsw@0: jbe@459: request._route = nil jbe@317: request._absolute_baseurl = nil jbe@262: request._response_headers = {} jbe@262: request._force_absolute_baseurl = false jbe@262: request._perm_params = {} jbe@262: request._404_route = nil jbe@291: request._cache = false jbe@291: request._cache_manual = false jbe@291: request._cache_time = 3600 jbe@280: request._relative_baseurl = nil jbe@255: request._http_request = nil jbe@255: request._status = nil jbe@255: request._forward = nil jbe@255: request._forward_processed = false jbe@255: request._redirect = nil jbe@255: request._csrf_secret = nil jbe@497: request._error_handlers = {} jbe@262: jbe@255: end)