Moved header code from the case statement in the work method, to the do_get method. Added a newline at the end of every string passed to the log method. Added error 505 http version not supported. Created method generate_simple_html_page_for_error to help consolidate identical code. Poor commit hygiene, sorry.