You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jason Davies (JIRA)" <ji...@apache.org> on 2009/02/26 12:59:02 UTC

[jira] Created: (COUCHDB-269) _list doesn't allow POST requests

_list doesn't allow POST requests
---------------------------------

                 Key: COUCHDB-269
                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
             Project: CouchDB
          Issue Type: Bug
          Components: HTTP Interface
            Reporter: Jason Davies


Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Attachment:     (was: multikey_reduce_validate.diff)

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>            Priority: Blocker
>             Fix For: 0.9
>
>         Attachments: list_multikey.2.diff, list_multikey.3.diff, list_multikey.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Attachment: list_multikey.diff

Patch and tests enabling multi-key fetch (via POST method) for _list.  I will post another, more refactored patch soon; just posting this now in case anyone else needs it.

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>         Attachments: list_multikey.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Attachment: list_multikey.2.diff

Updated patch for latest trunk (r748754) after jchris's ETag update.

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>         Attachments: list_multikey.2.diff, list_multikey.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Comment: was deleted

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>         Attachments: list_multikey.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Comment: was deleted

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>         Attachments: list_multikey.2.diff, list_multikey.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Attachment: list_multikey.2.diff

Updated patch for latest trunk (r748754) after jchris's ETag update.

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>         Attachments: list_multikey.2.diff, list_multikey.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Fix Version/s: 0.9
         Priority: Blocker  (was: Major)

Marked this as blocker for 0.9.

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>            Priority: Blocker
>             Fix For: 0.9
>
>         Attachments: list_multikey.2.diff, list_multikey.3.diff, list_multikey.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Attachment: list_multikey.diff

Patch for enabling multi-key POST requests for _list.  Still needs tests before committing, but posting here now in case someone needs it.

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Attachment:     (was: list_multikey.2.diff)

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>         Attachments: list_multikey.2.diff, list_multikey.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Attachment: multikey_reduce_validate.diff

Minor patch to add validation for multi-key reduce _list views i.e. they should return a 500 error when group=false.

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>            Priority: Blocker
>             Fix For: 0.9
>
>         Attachments: list_multikey.2.diff, list_multikey.3.diff, list_multikey.diff, multikey_reduce_validate.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Closed: (COUCHDB-269) _list doesn't allow POST requests

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

Chris Anderson closed COUCHDB-269.
----------------------------------

    Resolution: Fixed

applied in r750565

thanks!

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>            Priority: Blocker
>             Fix For: 0.9
>
>         Attachments: list_multikey.2.diff, list_multikey.3.diff, list_multikey.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Attachment:     (was: list_multikey.diff)

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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


[jira] Updated: (COUCHDB-269) _list doesn't allow POST requests

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

Jason Davies updated COUCHDB-269:
---------------------------------

    Attachment: list_multikey.3.diff

Refactored start and row functions out to reduce code duplication.

> _list doesn't allow POST requests
> ---------------------------------
>
>                 Key: COUCHDB-269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>         Attachments: list_multikey.2.diff, list_multikey.3.diff, list_multikey.diff
>
>
> Currently, a 405 response is returned if you issue a POST request to _list.  We should allow POST requests so we can do a multi-key fetch.

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