Parent Directory
|
Revision Log
| Links to HEAD: | (view) (annotate) |
| Sticky Revision: |
code improvements from tidier. Patch by Kostis Sagonas. COUCHDB-570
log external reqests like any other requests
allow case-insensitive content-type from external, and other cleanup
Include peer in req object for externals: _show, _list, _update etc. Closes COUCHDB-470.
Initial commit of _update handler. Thanks to Paul Davis, Jason Davies for code and others for discussion.
The _update handler accepts POSTs to paths like: /db/_design/foo/_update/bar and PUTs which include docids, like: /db/_design/foo/_update/bar/docid
The function signature:
function(doc, req) {
doc.a_new_field = req.query.something;
return [doc, "<h1>added something to your doc</h1>"];
}
The tests in update_documents.js are fairly complete and include examples of bumping a counter, changing only a single field, parsing from (and returning) XML, and creating new documents.
Initial check-in of OAuth and cookie authentication.
wheeeeeeee
trimmed trailing whitespace
send utf-8 hearders with list and show responses. closes COUCHDB-392
Send CouchDB Server: header for all external queries. Fixes COUCHDB-379.
Fixes COUCHDB-363 Applying the patch provided by Benoit Chesneau for 363 which fixes an error when POST'ing to _external handlers.
allow multi-key POST requests for _list. closes COUCHDB-269. thanks Jason Davies
apply COUCHDB-252. Allow _list functions to signal that iteration of the view should cease. Thanks davisp.
Improve show/list API and send external responses without chunked as it's not needed.
View list functions can stream views in any format. See list_views test for details.
merge form branch to trunk
shorter path to _action servers, external supports better routing control
the external process handler
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |