From dev-return-17980-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Sep 7 20:55:34 2011 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 68E948F0D for ; Wed, 7 Sep 2011 20:55:34 +0000 (UTC) Received: (qmail 78529 invoked by uid 500); 7 Sep 2011 20:55:33 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 78007 invoked by uid 500); 7 Sep 2011 20:55: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 77998 invoked by uid 99); 7 Sep 2011 20:55:32 -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:55:32 +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:55:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0288F869C9 for ; Wed, 7 Sep 2011 20:55:11 +0000 (UTC) Date: Wed, 7 Sep 2011 20:55:11 +0000 (UTC) From: "Robert Newson (JIRA)" To: dev@couchdb.apache.org Message-ID: <1889550178.27486.1315428911007.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <16532874.27456.1315428550068.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (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 [ https://issues.apache.org/jira/browse/COUCHDB-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson reassigned COUCHDB-1274: -------------------------------------- Assignee: Robert Newson > 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.1, 1.0.3 > Environment: Chrome 14, Firefox 6, Safari 5. > Reporter: Tim Anglade > Assignee: Robert Newson > 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