# File lib/protocols/httpcli2.rb, line 116 116: def receive_chunk_header ln 117: if ln.length > 0 118: chunksize = ln.to_i(16) 119: if chunksize > 0 120: @conn.set_text_mode(ln.to_i(16)) 121: else 122: @content = @content.join 123: @chunk_trailer = true 124: end 125: else 126: # We correctly come here after each chunk gets read. 127: p "Got A BLANK chunk line" 128: end 129: 130: end