Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-419

Replication HTTP requests lack User-Agent and Accept headers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10
    • Database Core
    • None

    Description

      Currently when making replication HTTP requests to a remote CouchDB instance, CouchDB makes the HTTP requests "anonymously", without providing any information that it is a CouchDB instance and that it wants to receive JSON.

      Examples of what this could be:

      User-Agent: CouchDB/0.9.0
      Accept: application/json

      See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

      It would be good to add these headers to HTTP requests made by CouchDB, as it makes it easier for other systems like Midgard to support the replication protocol:
      http://bergie.iki.fi/blog/couchdb_and_midgard_talking_with_each_other/

      Attachments

        Activity

          People

            kocolosk Adam Kocoloski
            bergie Henri Bergius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: