• Home
  • Raw
  • Download

Lines Matching full:url

89   """Handles get requests for a given URL.
99 NEG_CACHE_PREFIX = 'noncache://' # memcache key prefix for non-existant URL
123 name: URL requested
145 # Do some prep for handling intl requests. Parse the url and validate
146 # the intl/lang substring, extract the url lang code (urlLangName) and the
160 # the user's preferred language url.
180 # Preprocess the req url. If it references a directory or the domain itself,
181 # append '/index.html' to the url and 302 redirect. Otherwise, continue
190 # Try to form a response using the actual request url.
208 # handle the case where we have a non-clean url (usually a non-intl
209 # url) that we need to interpret in the context of any lang pref
210 # that is set. Prepend an intl/lang string to the request url and
212 # request will be handled as a clean url.
249 # If this is an international URL, prepend intl path to minimize
335 # No redirect found, return URL unchanged
339 """Determine whether to pass an incoming url straight to processing.
342 name: The incoming URL
345 boolean: Whether the URL should be sent straight to processing
352 """Any preprocessing work on the URL when it comes in.
354 Put any work related to interpreting the incoming URL here. For example,
360 name: The incoming URL
393 name: The incoming, preprocessed URL
396 The lang-specific URL
408 """Process the url and form a response, if appropriate.
414 the request can be retried with the base url (this is the
419 for an intl (localized) url, also resets the language cookie
420 to the language specified in the url if needed, to ensure that
424 name: The incoming, preprocessed URL
428 for a language-specific url
684 filename: The URL of the file to return
720 """If a non-existant URL is accessed, cache this result as well.
726 filename: URL to add ot negative cache
737 filename: URL to retreive