Starting to flesh out and error handling path. Simplifying the post-processing step in the HTTP handler.