# File lib/rfuzz/client.rb, line 270 270: def read_parsed_header 271: @parser.reset 272: resp = HttpResponse.new 273: data = @sock.read(CHUNK_SIZE, partial=true) 274: nread = @parser.execute(resp, data, 0) 275: 276: while !@parser.finished? 277: data << @sock.read(CHUNK_SIZE, partial=true) 278: nread = @parser.execute(resp, data, nread) 279: end 280: 281: return resp 282: end