Request handling in App Engine

Now that we know about the two modes of request handling in Google App Engine, how they work, and their respective pros and cons, it's time to divert our attention to request handlingfrom another aspect. As we discussed in the previous chapter, app.yaml is a manifest of your application, and it defines what your application really is. One of the major things that it defines is how your application processes URLs. There are three things that app.yaml defines:

  • Which URLs or URL patterns are processed?
  • In what order are the URLs or URL patterns processed?
  • How exactly are the URLs or URL patterns processed?

To define which URLs are processed, you can define absolute URLs that start with the / character. Alternatively, if ...

Get Mastering Google App Engine now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.