Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2EC38E21 for ; Wed, 7 Sep 2011 20:49:34 +0000 (UTC) Received: (qmail 73092 invoked by uid 500); 7 Sep 2011 20:49:33 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 72739 invoked by uid 500); 7 Sep 2011 20:49:32 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 72719 invoked by uid 99); 7 Sep 2011 20:49:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 20:49:31 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Wed, 07 Sep 2011 20:49:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1161486572 for ; Wed, 7 Sep 2011 20:49:10 +0000 (UTC) Date: Wed, 7 Sep 2011 20:49:10 +0000 (UTC) From: "Tim Anglade (JIRA)" To: dev@couchdb.apache.org Message-ID: <16532874.27456.1315428550068.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (COUCHDB-1274) JSONP responses should be sent with a "text/javascript" Content-type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 JSONP responses should be sent with a "text/javascript" Content-type -------------------------------------------------------------------- Key: COUCHDB-1274 URL: https://issues.apache.org/jira/browse/COUCHDB-1274 Project: CouchDB Issue Type: Improvement Components: HTTP Interface Affects Versions: 1.0.3, 1.1 Environment: Chrome 14, Firefox 6, Safari 5. Reporter: Tim Anglade Priority: Minor Currently, jsonp responses come with a "text/plain" header. This causes warnings in some browsers, including Google Chrome, Firefox & Safari, according to this report: http://stackoverflow.com/questions/7338983/js-warning-resource-interpreted-as-script-but-transferred-with-mime-type-text-pl Since jsonp responses are Javascript code, the content-type should instead be "text/javascript". -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira