Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Development branches

Fix CORS error with attachments

When attachments were returned (?attachments=true) while CORS was
enabled and used, an error occured. The reason for this error
were headers that were encoded as binaries instead of lists. String
operations on binaries throw errors.

This commit fixes COUCHDB-1689.
latest commit b0420f9006
Volker Mische vmx authored
Octocat-spinner-32 bin Automatically support CouchDB plugins (GeoCouch, BrowserID, OAuth, etc.)
Octocat-spinner-32 build-aux Integrate Sphinx into autotools
Octocat-spinner-32 etc COUCHDB-1667: Revert index_dir to view_index_dir config option.
Octocat-spinner-32 share Update copyright year to 2013
Octocat-spinner-32 src Fix CORS error with attachments
Octocat-spinner-32 test Fix CORS error with attachments
Octocat-spinner-32 utils Minor changes for new indexing engine.
Octocat-spinner-32 var wheeeeeeee
Octocat-spinner-32 .gitignore Integrate Sphinx into autotools
Octocat-spinner-32 .mailmap Integrate Sphinx into autotools
Octocat-spinner-32 .travis.yml Integrate Sphinx into autotools
Octocat-spinner-32 AUTHORS Move myself from THANKS to AUTHORS.
Octocat-spinner-32 BUGS Add Sphinx-related build changes into READMEs
Octocat-spinner-32 CHANGES fix up 1.1.1 section
Octocat-spinner-32 DEVELOPERS Added info about release time deps
Octocat-spinner-32 INSTALL.Unix Update ICU url
Octocat-spinner-32 INSTALL.Windows Update ICU url
Octocat-spinner-32 LICENSE update erlang-oauth to 1.3.0
Octocat-spinner-32 Makefile.am Removed checks, to include in release procedure
Octocat-spinner-32 NEWS Added CVE-2010-2234 to NEWS and CHANGES
Octocat-spinner-32 NOTICE Update copyright year to 2013
Octocat-spinner-32 README Reverting commit, see COUCHDB-1418
Octocat-spinner-32 THANKS.in Move myself from THANKS to AUTHORS.
Octocat-spinner-32 acinclude.m4.in Switch to proper SemVer for builds, add acinclude checks, and remove …
Octocat-spinner-32 bootstrap Switch to proper SemVer for builds, add acinclude checks, and remove …
Octocat-spinner-32 configure.ac Integrate Sphinx into autotools
Octocat-spinner-32 license.skip fix `make dist`
README
Apache CouchDB README
=====================

Installation
------------

For a low-level guide, see:

    INSTALL

For a high-level guide to Unix-like systems, inc. Mac OS X and Ubuntu, see:

    INSTALL.Unix

For a high-level guide to Microsoft Windows, see:

    INSTALL.Windows

Follow the proper instructions to get CouchDB installed on your system.

If you're having problems, skip to the next section.

Troubleshooting
----------------

For troubleshooting, see:

    http://wiki.apache.org/couchdb/Troubleshooting

If you're getting a cryptic error message, see:

    http://wiki.apache.org/couchdb/Error_messages

For general help, see:

     http://couchdb.apache.org/#mailing-list
     
We also have an IRC channel:

    http://webchat.freenode.net/?channels=couchdb

The mailing lists provide a wealth of support and knowledge for you to tap into.
Feel free to drop by with your questions or discussion. See the official CouchDB
website for more information about our community resources.

Running the Testsuite
---------------------

Run the testsuite for couch.js and jquery.couch.js by browsing here:

    http://127.0.0.1:5984/_utils/spec/run.html

It should work in at least Firefox >= 3.6 with Private Browsing mode enabled.

Read more about JSpec here:

    https://github.com/liblime/jspec

When you change the specs, but your changes have no effect, manually reload
the changed spec file in the browser. When the spec that tests Erlang views
fails, make sure you have enabled Erlang views as described here:
   
       http://wiki.apache.org/couchdb/EnableErlangViews

Cryptographic Software Notice
-----------------------------

This distribution includes cryptographic software. The country in which you
currently reside may have restrictions on the import, possession, use, and/or
re-export to another country, of encryption software. BEFORE using any
encryption software, please check your country's laws, regulations and policies
concerning the import, possession, or use, and re-export of encryption software,
to see if this is permitted. See <http://www.wassenaar.org/> for more
information.

The U.S. Government Department of Commerce, Bureau of Industry and Security
(BIS), has classified this software as Export Commodity Control Number (ECCN)
5D002.C.1, which includes information security software using or performing
cryptographic functions with asymmetric algorithms. The form and manner of this
Apache Software Foundation distribution makes it eligible for export under the
License Exception ENC Technology Software Unrestricted (TSU) exception (see the
BIS Export Administration Regulations, Section 740.13) for both object code and
source code.

The following provides more details on the included cryptographic software:

CouchDB includes a HTTP client (ibrowse) with SSL functionality.
Something went wrong with that request. Please try again.