Q:

GAE is not serving my robots.txt

I have the following defined in my app.yaml:
handlers:
- url: /favicon.ico
  static_files: img/favicon.ico
  upload: noop

- url: /apple-touch-icon.png
  static_files: img/apple-touch-icon.png
  upload: noop

- url: /images
  static_dir: img

- url: /robots.txt
  static_files: media/robots.txt
  upload: noop

- url: /humans.txt
  static_files: media/humans.txt
  upload: noop

There are other mappings after the declaration for /humans.txt but I'll remove them for brevity.
The noop directory is an empty directory.
However my browser gives me a 404 when I try to access these urls:

http://myapp.appspot.com/humans.txt
http://myapp.appspot.com/robots.txt

Why ?

A:

Since you're using static files, upload should match the static_files location:
- url: /robots.txt
  static_files: media/robots.txt
  upload: media/robots.txt

- url: /humans.txt
  static_files: media/humans.txt
  upload: media/humans.txt

