You should probably use `httputil.parse_response_start_line`:
https://github.com/tornadoweb/tornado/blob/master/tornado/httputil.py#L787