Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now generally available.

google.appengine.api.appinfo_errors.InvalidHttpHeaderName

Stay organized with collections Save and categorize content based on your preferences.

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
   ```