class SimpleXChat::HTTPResponse
Fixes regex match for status line in HTTPResponse
def read_status_line(sock)
def read_status_line(sock) str = sock.readline m = /\AHTTP(?:\/(\d+\.\d+))?\s+(\d\d\d)(?:\s+(.*))?\Z/in.match(str) or raise Net::HTTPBadResponse, "wrong status line: #{str.dump}" m.captures end