index.shtml revision 1968
742N/A## You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
742N/A## file and include the License file at usr/src/OPENSOLARIS.LICENSE.
742N/A import pkg.server.api as api
742N/A import pkg.server.api_errors as api_errors
742N/A config = api.ConfigInterface(CLIENT_API_VERSION, base)
742N/A request = api.RequestInterface(CLIENT_API_VERSION, base)
742N/A rlangs = request.get_accepted_languages()
742N/A rpath = request.path_info.strip("/")
742N/A rpath = "index.shtml"
742N/A raise api_errors.RedirectException("%s/%s" % (dlang, rpath))