View source on GitHub |
Raised when an invalid HTTP header value is used.
Inherits From: Error
, expected_type
This error comes up when a static handler uses http_headers
with an invalid
HTTP header value. For example, the following would not be allowed:
handlers:
- url: /static
static_dir: static
http_headers:
Some-Unicode: "☨"
```