I took a closer look today, and it's not the ignoreParameters that's at fault
(in fact, it should be considered included regardless of whether
ignoreParameters is true or false, since ignoreParameters applies to "this" and
not "included", and "this" has no parameters).
I think the fix would be
Hi Andy :)
Yes, this should be the case. Did you try to set the ignoreParameters
option on the includes() method?
Jérôme
2013/11/5 Andy Dennie
> 4 1/2 years later, I have a follow-up question :-)
>
> shouldn't
> "application/json"
> include
> "application/vnd.foo.bar-baz-v1+json; lev
4 1/2 years later, I have a follow-up question :-)
shouldn't
"application/json"
include
"application/vnd.foo.bar-baz-v1+json; level=3"
?
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3067938
Hello,
I agree with you, I think it should be true. I've just fixed the svn
repository.
Thank you for the report.
best regards,
Thierry Boileau
> Hi,
>
> As title, should mediatype application/xml be compatible with
> application/*+xml?
>
> I thought it should be true, but In MediaType.include
Hi,
As title, should mediatype application/xml be compatible with
application/*+xml?
I thought it should be true, but In MediaType.includes method (1.2-M1), it
says:
} else if (getSubType().startsWith("*+")
&& included.getSubType().endsWith(
5 matches
Mail list logo