Adapted finish_http_response to new list_to_text