* @return The resource
* @throws IOException If some IO exception
*/
private static Resource resource(final Host host, final HttpRequest request)
throws IOException {
final Version version;
if (request.parameters().containsKey(HttpThread.ALL_VERSIONS)) {
version = Version.LIST;
} else if (request.parameters().containsKey(HttpThread.VER)) {
version = new Version.Simple(
request.parameters().get(HttpThread.VER)