Add support for writing Content-Type headers.
Add under-tested Content-Disposition.