You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Henri Bergius (JIRA)" <ji...@apache.org> on 2009/07/20 14:15:14 UTC

[jira] Created: (COUCHDB-419) Replication HTTP requests lack User-Agent and Accept headers

Replication HTTP requests lack User-Agent and Accept headers
------------------------------------------------------------

                 Key: COUCHDB-419
                 URL: https://issues.apache.org/jira/browse/COUCHDB-419
             Project: CouchDB
          Issue Type: Bug
          Components: Database Core
            Reporter: Henri Bergius


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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COUCHDB-419) Replication HTTP requests lack User-Agent and Accept headers

Posted by "Adam Kocoloski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Kocoloski closed COUCHDB-419.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.10

Thanks Henri, CouchDB should now be sending these headers with replication requests.



> Replication HTTP requests lack User-Agent and Accept headers
> ------------------------------------------------------------
>
>                 Key: COUCHDB-419
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-419
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Henri Bergius
>            Assignee: Adam Kocoloski
>             Fix For: 0.10
>
>
> 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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (COUCHDB-419) Replication HTTP requests lack User-Agent and Accept headers

Posted by "Adam Kocoloski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Kocoloski reassigned COUCHDB-419:
--------------------------------------

    Assignee: Adam Kocoloski

> Replication HTTP requests lack User-Agent and Accept headers
> ------------------------------------------------------------
>
>                 Key: COUCHDB-419
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-419
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Henri Bergius
>            Assignee: Adam Kocoloski
>
> 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/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.