hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ömer Yildiz (JIRA) <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1252) StringBody.create() makes no sense
Date Thu, 18 Oct 2012 10:06:02 GMT
Ömer Yildiz created HTTPCLIENT-1252:

             Summary: StringBody.create() makes no sense
                 Key: HTTPCLIENT-1252
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1252
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpMime
    Affects Versions: 4.1.3
            Reporter: Ömer Yildiz
            Priority: Trivial

public static StringBody create(
  final String text, final Charset charset) throws IllegalArgumentException;

public static StringBody create(
  final String text) throws IllegalArgumentException;

Both create methods are useless, because the MIME-Types defaults to null which AbstractContentBody
does not allow.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

View raw message