question: public void addLine ( String line ) { int index = line . indexOf ( ":" , 1 ) ; if ( index != - 1 ) { addLenient ( line . substring ( 0 , index ) , line . substring ( index + 1 ) ) ; } else if ( line . startsWith ( ":" ) ) { addLenient ( "" , line . substring ( 1 ) ) ; } else { addLenient ( "" , line ) ; } }
target:  Add an HTTP header line containing a field name, a literal colon, and a value. This works around empty header names and header names that start with a colon (created by old broken SPDY versions of the response cache).