Rename the resource controller to asset controller, makes more sense.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Fix #179

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Simplify the getController method of Route.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Fix #180

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Fix #181

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Fix #182

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Fix #183

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Provide a structure to manage content negotiation

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Add documentation about the new parameter and attribute types.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Added a couple of integration-tests

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
By default accept text/* and not only HTML.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
If a resource path starts with /, remove it.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>