private String getContentType ( final String dataHeader ) { String token = "Content-Type:" ; int start = dataHeader . indexOf ( token ) ; if ( start == - 1 ) { return StringPool . EMPTY ; } start += token . length ( ) ; return dataHeader . substring ( start ) . trim ( ) ; }
Strips content type information from requests data header .