return well-formed HTTP response