Extrac code doc scala http 2