Python 3.9 is now generally available.

google.appengine.api.appinfo_errors.InvalidHttpHeaderName

Raised when an invalid HTTP header name is used.

Inherits From: Error, expected_type

This error comes up when a static handler uses http_headers with an invalid HTTP header name. For example, the following would not be allowed:

  handlers:

  - url: /static
    static_dir: static
    http_headers:
      D@nger: Will Robinson
   ```