A.2.1.4 Response Header Management
Keywords: albatross

###
A.2.1.4 Response Header Management

All response header management has been moved to the `ResponseMixin` class. The `AppContext` class now inherits from `ResponseMixin`. The `Request` class no longer tracks whether or not headers have been sent.

`ResponseMixin` provides the ability to set, get, delete, and send headers. Headers are automatically sent when the application sends any content to the browser.

The `write_headers()` method has been deleted from the following classes; `SimpleAppContext`, `SessionAppContext`, `SessionServerContextMixin`, `SessionFileContextMixin`, `SessionFileAppContext`.

For `SessionServerContextMixin` and `SessionFileContextMixin` the `Set-Cookie` header is set when session is created or loaded.