-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
Milestone
Description
Currently in 0.6.0, media types from the accept header and :available-media-types are stripped down to pairs like ["text" "html"]. That pairs are used to compare acceptable types and so on.
I need to be able to specify media types with params like application/json;profile="urn:org.restfulobjects:homepage" in :available-media-types because that is my content type of the representation I like to return. You can find such media types in the Restful Objects Spec.
I already looked into the liberator.conneg namespace. But this wouldn't be a small patch. I think the namespace would benefit from a MediaType protocol and record. But I like to discuss this first.