hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37805] - misleading lack of javadoc in StringRequestEntity
Date Tue, 06 Dec 2005 13:39:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37805>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37805





------- Additional Comments From odi@odi.ch  2005-12-06 14:39 -------
Created an attachment (id=17157)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17157&action=view)
proposed patch

The patch deprecates the first constructor and removes its use from the test
cases. It also checks for inconsistent definition of the charset in the second
constructor. So new StringRequestEntity("", "text/xml; charset=ISO-8859-1",
"UTF-8") will throw a runtime exception. The default platform encoding is still
used when new StringRequestEntity("", null, null) is called.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message