}
if (!strcmp (method, "GET"))
{
- IRI *iri;
+ AtomID *id;
AtomResource *atom;
AtomError *error;
- iri = iri_new ();
- iri_set_path (iri, path);
- atom = atom_retrieve_resource (ctx, iri);
- iri_delete (iri);
+ id = atom_id_new (path);
+ atom = atom_retrieve_resource (ctx, id);
+ atom_id_delete (id);
if (atom)
{
char * str;