You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Hank Knight <hk...@gmail.com> on 2014/01/08 22:16:24 UTC

CouchDB Sends the Wrong Headers for JavaScript Callbacks!

CouchDB incorrectly sends "text/javascript" as the value for the
"Content-Type" header when JavaScript callbacks are used!

http://example.com/db/_changes?callback=xyz

Re: CouchDB Sends the Wrong Headers for JavaScript Callbacks!

Posted by Alexander Shorin <kx...@gmail.com>.
It was introduced with COUCHDB-1274[1] issue fix. text/javascript
isn't incorrect, but seem to be deprecated[2] in favour of
application/javascript. Feel free to open issue about if you think the
same.

[1]: https://issues.apache.org/jira/browse/COUCHDB-1274
[2]: http://tools.ietf.org/html/rfc4329#section-3
--
,,,^..^,,,


On Thu, Jan 9, 2014 at 1:16 AM, Hank Knight <hk...@gmail.com> wrote:
> CouchDB incorrectly sends "text/javascript" as the value for the
> "Content-Type" header when JavaScript callbacks are used!
>
> http://example.com/db/_changes?callback=xyz