287288289290291292293294295296297
String name = null; StringBuilder value = new StringBuilder(); while (true) { String line = lin.readLine(); if (line == null) { if (name != null) { addValue(name, value.toString());
388389390391392393394395396397398
int len; // Read response status line LineInputStream lis = new LineInputStream(in); line = lis.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.startsWith("HTTP/"))