def appstats_extract_key(request):
  key = appstats_normalize_path(request.http_path())
  if request.http_method() != 'GET':
    key = (request.http_method(), key) % '%s %s'
  return key


# ########################################
# Remote_API Authentication configuration.

# See google/appengine/ext/remote_api/handler.py for more information.
# In most cases, you will not want to configure this.

# remoteapi_CUSTOM_ENVIRONMENT_AUTHENTICATION = (
#     'HTTP_X_APPENGINE_INBOUND_APPID', ['a trusted appid here'])
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/appstats/sample_appengine_config.py/appstats_extract_key/swapped operands of `%`