* @throws IOException
*/
protected void writeRequestData(GDataRequest req,
ClientOutputProperties outProps, Object source) throws IOException {
AltFormat outputFormat = altRegistry.lookupType(outProps.getContentType());
if (outputFormat == null) {
// If no registered type, see if the target service supports media
outputFormat = altRegistry.lookupName(AltFormat.MEDIA.getName());
}
if (outputFormat == null) {