public static String PUT ( String path , String host , long length , boolean append ) { String newPath = null ; if ( append ) { newPath = APPEND_URI + "/" + path ; } else { newPath = "/" + path ; } return HTTPProtocol . createPUTHeader ( newPath , host , USER_AGENT , TYPE , length , append ) ; }
This method concatenates a properly formatted header for performing Globus Gass PUTs with the given information .