protected String readResponseLine() throws IOException {
  String line=readLine();
  if (line != null) {
    int n=line.indexOf(' ');
    if (n != -1) {
      line="HTTP/1.0" + line.substring(n);
    }
  }
  return line;
}

protected String readResponseLine ( ) throws IOException { String line = readLine ( ) ; if ( line != null ) { int n = line . indexOf ( ' ' ) ; if ( n != - 1 ) { line = "HTTP/1.0" + line . substring ( n ) ; } } return line ; }
reads the first response line .
