mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-16 23:16:33 +00:00
[HTTPCLIENT-1260] Javadoc incorrectly states StringBody(String)'s encoding uses the system default. Contributed by Tim <tdhutt at gmail.com> and Gary Gregory <ggregory at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1409922 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c017b6ba7b
commit
b6457c4d27
@ -1,6 +1,10 @@
|
||||
Changes in trunk
|
||||
-------------------
|
||||
|
||||
* [HTTPCLIENT-1260]
|
||||
Javadoc incorrectly states StringBody(String)'s encoding uses the system default.
|
||||
Contributed by Tim <tdhutt at gmail.com> and Gary Gregory <ggregory at apache.org>
|
||||
|
||||
* [HTTPCLIENT-1254] Redirect with underscore in hostname causes ProtocolException.
|
||||
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
||||
|
||||
|
@ -134,7 +134,7 @@ public StringBody(final String text, final Charset charset) throws UnsupportedEn
|
||||
/**
|
||||
* Create a StringBody from the specified text.
|
||||
* The mime type is set to "text/plain".
|
||||
* The hosts default charset is used.
|
||||
* The {@linkplain Consts#ASCII ASCII} charset is used.
|
||||
*
|
||||
* @param text to be used for the body, not {@code null}
|
||||
* @throws UnsupportedEncodingException
|
||||
|
Loading…
x
Reference in New Issue
Block a user