hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCORE-400) ContentType.equals & hashCode are not implemented
Date Thu, 23 Apr 2015 07:41:38 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Oleg Kalnichevski resolved HTTPCORE-400.
    Resolution: Invalid

bq. according to RFC ordering does not matter

Really? As far as my interpretation of the MIME spec goes, it may not matter for _certain_
common types defined by the spec but it cannot be used as a general rule applicable to all
content types.

There is nothing stopping you from developing a custom Comparator that performs comparison
of mime types based on assumptions valid for your particular application but those assumptions
should not be imposed by HttpClient.


> ContentType.equals & hashCode are not implemented
> -------------------------------------------------
>                 Key: HTTPCORE-400
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-400
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>            Reporter: Volodymyr Kyrychenko
> Since equals and hashCode are not implemented it's impossible to use them in handful
of cases

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message