private URLConnection setQBlastServiceProperties ( URLConnection conn ) { conn . setDoOutput ( true ) ; conn . setUseCaches ( false ) ; conn . setRequestProperty ( "User-Agent" , "Biojava/NCBIQBlastService" ) ; conn . setRequestProperty ( "Connection" , "Keep-Alive" ) ; conn . setRequestProperty ( "Content-type" , "application/x-www-form-urlencoded" ) ; conn . setRequestProperty ( "Content-length" , "200" ) ; return conn ; }
Sets properties for given URLConnection