App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
google.appengine.api.appinfo_errors.ContentTypeSpecifiedMultipleTimes Class Reference
Inheritance diagram for google.appengine.api.appinfo_errors.ContentTypeSpecifiedMultipleTimes:
google.appengine.api.appinfo_errors.Error

Detailed Description

Raised when mime_type and http_headers specify a mime type.

N.B. This will be raised even when both fields specify the same content type.
E.g. the following configuration (snippet) will be rejected:

  handlers:
  - url: /static
    static_dir: static
    mime_type: text/html
    http_headers:
      content-type: text/html

This only applies to static handlers i.e. a handler that specifies static_dir
or static_files.

The documentation for this class was generated from the following file: