DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27295>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27295

wrong charset indication in HttpConstants.getContentString()

           Summary: wrong charset indication in
                    HttpConstants.getContentString()
           Product: Commons
           Version: 2.0 Final
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HttpClient
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Around line 236 in HttpConstants.getConstentString() the charset is wrongly indicated 
as 
"DEFAULT_CONTENT_CHARSET" where it should have been indicated as "charset" like in the 
getContentBytes function.

            if (LOG.isWarnEnabled()) {
                LOG.warn("Unsupported encoding: " 
                    + DEFAULT_CONTENT_CHARSET // <== should be the variable "charset" 
here
                    + ". Default HTTP encoding used");
            }

Wrong copy/paste I guess :-)

ZC.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to