Error handling, output  Content-Type support