Attachment: made the request processing a bit more robust in presence of invalid realms, in particular for the buggy `/attachment/attachment` one.
Also simplified a bit the `Resource.get_resource_{url,description}` functions.
Authored by: cboos 2010-04-11
Parent: [r9463]
Child: [r9465]