module WebSocket::HTTP::Headers
def header_line(line)
def header_line(line) return false unless parsed = line.scan(HEADER_LINE).first key = HTTP.normalize_header(parsed[0]) value = parsed[1].strip if @headers.has_key?(key) @headers[key] << ', ' << value else @headers[key] = value end true end