• Home
  • Raw
  • Download

Lines Matching full:url

90   """Handles get requests for a given URL.
100 NEG_CACHE_PREFIX = 'noncache://' # memcache key prefix for non-existant URL
124 name: URL requested
146 # Do some prep for handling intl requests. Parse the url and validate
147 # the intl/lang substring, extract the url lang code (urlLangName) and the
161 # the user's preferred language url.
181 # Preprocess the req url. If it references a directory or the domain itself,
182 # append '/index.html' to the url and 302 redirect. Otherwise, continue
191 # Try to form a response using the actual request url.
209 # handle the case where we have a non-clean url (usually a non-intl
210 # url) that we need to interpret in the context of any lang pref
211 # that is set. Prepend an intl/lang string to the request url and
213 # request will be handled as a clean url.
250 # If this is an international URL, prepend intl path to minimize
336 # No redirect found, return URL unchanged
340 """Determine whether to pass an incoming url straight to processing.
343 name: The incoming URL
346 boolean: Whether the URL should be sent straight to processing
353 """Any preprocessing work on the URL when it comes in.
355 Put any work related to interpreting the incoming URL here. For example,
361 name: The incoming URL
394 name: The incoming, preprocessed URL
397 The lang-specific URL
409 """Process the url and form a response, if appropriate.
415 the request can be retried with the base url (this is the
420 for an intl (localized) url, also resets the language cookie
421 to the language specified in the url if needed, to ensure that
425 name: The incoming, preprocessed URL
429 for a language-specific url
689 filename: The URL of the file to return
725 """If a non-existant URL is accessed, cache this result as well.
731 filename: URL to add ot negative cache
742 filename: URL to retreive