Lines Matching full:url
86 """Handles get requests for a given URL.
96 NEG_CACHE_PREFIX = 'noncache://' # memcache key prefix for non-existant URL
108 name: URL requested
130 # Preprocess the req url. If it references a directory or the domain itself,
131 # append '/index.html' to the url and 302 redirect. Otherwise, continue
135 # Do some prep for handling intl requests. Parse the url and validate
136 # the intl/lang substring, extract the url lang code (urlLangName) and the
151 # the user's preferred language url.
161 # Try to form a response using the actual request url.
179 # handle the case where we have a non-clean url (usually a non-intl
180 # url) that we need to interpret in the context of any lang pref
181 # that is set. Prepend an intl/lang string to the request url and
183 # request will be handled as a clean url.
187 """Determine whether to pass an incoming url straight to processing.
190 name: The incoming URL
193 boolean: Whether the URL should be sent straight to processing
200 """Any preprocessing work on the URL when it comes in.
202 Put any work related to interpreting the incoming URL here. For example,
208 name: The incoming URL
212 The processed URL, otherwise
240 name: The incoming, preprocessed URL
243 The lang-specific URL
255 """Process the url and form a response, if appropriate.
261 the request can be retried with the base url (this is the
266 for an intl (localized) url, also resets the language cookie
267 to the language specified in the url if needed, to ensure that
271 name: The incoming, preprocessed URL
275 for a language-specific url
515 filename: The URL of the file to return
551 """If a non-existant URL is accessed, cache this result as well.
557 filename: URL to add ot negative cache
568 filename: URL to retreive