0

I have the following config file for my google appengine app in python:

application: testapp-94974206
version: 1
runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /helloworld
  script: helloworld.application

- url: /
  script: helloworld.application

when calling the url with no prefix (/) I get my "helloworld" app called, while when calling with /helloworld I get a 404 not found error page. What is wrong with the declaration of "/helloworld" above?

1

1 Answer 1

1

My question is actually close to another one that has been already answered here.

It turns out that the /helloworld url is actually well routed by the appengine, but then the culprit is the WSGI router that parses the whole absolute URL and not just the one relative to /helloworld, as I thought it would.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.