                 response.file file, policy.maxage, last_modified
             else
               response.page "404", undefined, undefined, 404
+          , endpoint = false
       promise.done undefined, true
       promise
 

      @methods = {}
      CONST.HTTP_METHODS.forEach (method) =>
        @methods[method] = []
        @[method.toLowerCase()] = (pattern, callback) ->
          console.log " ✓".green, "[#{method.substr(0,3)}]".grey, "#{pattern}"
          parameters = []
          for name, regexp of CONST.URL_MATCH

            .replace(CONST.URL_MATCH.escape, '\\$&')
            .replace(CONST.URL_MATCH.name, '([^\/]*)')
            .replace(CONST.URL_MATCH.splat, '(.*?)')
          pattern = if endpoint then "^#{pattern}$" else "^#{pattern}"

          @methods[method].push
            pattern   : new RegExp pattern
            callback  : callback
            parameters: parameters

