if (status == 304) throw new NotModifiedException();
MimeType atomtype = new MimeType("application/atom+xml");
String ctype = _getResponseHeader(method, "Content-Type", null);
String location = _getResponseHeader(method, "Location", null);
URI locationuri = (location != null) ? uri.resolve(location) : null;
if (ctype != null && atomtype.match(ctype)) {
try {
return _parse(method, locationuri );
} catch (Exception e) {
if (location != null)
return get(locationuri);