add document url, &urlScheme, &contentOnly and &cache options
add &chunks option to add additional chunks to response