// The GSA can't handle meta-and-url feeds with no content, so we
// provide some minimal content of a single space, if none is available.
// We are only detecting empty content here, not large documents.
// TODO: Figure out how to handle CONTENT morphing document filters.
return
new AlternateContentFilterInputStream(
new BigEmptyDocumentFilterInputStream(
(in == null) ? in : new EofFilterInputStream(in),
Long.MAX_VALUE),
null);
}