Added a response type handler for HTML.

Closes #9.