Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 59598 invoked from network); 3 Feb 2011 13:57:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 13:57:56 -0000 Received: (qmail 52888 invoked by uid 500); 3 Feb 2011 13:57:55 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 51740 invoked by uid 500); 3 Feb 2011 13:57:51 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 51699 invoked by uid 99); 3 Feb 2011 13:57:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 13:57:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 13:57:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4399918CE1C for ; Thu, 3 Feb 2011 13:57:29 +0000 (UTC) Date: Thu, 3 Feb 2011 13:57:29 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Message-ID: <813713908.7311.1296741449273.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Closed: (SOLR-190) Encoding declaration of POSTed XML documents is ignored MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler closed SOLR-190. ------------------------------ Resolution: Duplicate Duplicate of SOLR-96. > Encoding declaration of POSTed XML documents is ignored > ------------------------------------------------------- > > Key: SOLR-190 > URL: https://issues.apache.org/jira/browse/SOLR-190 > Project: Solr > Issue Type: Bug > Components: update > Reporter: Bertrand Delacretaz > Priority: Minor > > Currently, the post.sh script and the SimplePostTool use this header to define encoding: > Content-type:text/xml; charset=utf-8 > And the XML encoding declaration of the POSTed document is ignored. > According to RFC 3023, the correct way would be to use "Content-type:application/xml" and use the XML document's encoding. > One this is fixed, the "please use UTF-8 encoding" warning is SimplePostTool can be removed. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org