summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd.erl
AgeCommit message (Collapse)Author
2008-07-29Fix for problem with count query arg in grouped reduce views. Previous fix ↵Damien F. Katz
would keep enumerating over subsequent view results despite not returning them. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@680796 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25Fix to previous commit r679840.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679843 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25Use a method compatible with Erlang R11B to put the Erlang OTP version in ↵Christopher Lenz
the HTTP Server response header. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679840 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15fix for attachment editing when their are conflictsDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@677087 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10Make RESTful attachment API concurrency aware and the code a little more ↵Jan Lehnardt
concise (thanks Damien!) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@675699 13f79535-47bb-0310-9956-ffa450edef68
2008-07-06Add RESTful API for document attachments as per ↵Jan Lehnardt
http://groups.google.com/group/couchdb/browse_thread/thread/c84c5f35afb5db2a with not yet comprehensive tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@674334 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03Expose endkey_docid as a view query option through the HTTP API (including ↵Jan Lehnardt
tests). git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@673631 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24Change `Server` HTTP header to say CouchDB instead of MochiWeb, and add a ↵Christopher Lenz
`Cache-Control: must-revalidate` header to all JSON and attachment responses. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@671151 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23Apply patch by Chris Anderson that fixes an edge case in the HTTP view ↵Christopher Lenz
interface resulting in an invalid JSON response body. Closes COUCHDB-84. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670774 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05Added reduce/combine example. Fixed broken node chunking with very large ↵Damien F. Katz
keys/reduction values git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663786 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05Remove /db/_search API call. This will be maintained in the lucene-search ↵Jan Lehnardt
branch and merged back after a 0.8 release when things got more stable. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663744 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04Use linebreaks between rows for view results with a negative count value, ↵Christopher Lenz
same as for a positive value. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663345 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04Enable the use of an unencoded slash in the URL of design documents. Closes ↵Christopher Lenz
COUCHDB-49. Thanks to Paul Davis for the patch. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663055 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02Increase the request body size limitations on bulk_docs and document POST to ↵Christopher Lenz
4GB. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@662591 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29Grouped reduce support. Needs performance work.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@661476 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Experimental functionality to increment database update seq, might go away, ↵Damien F. Katz
use at own risk. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660315 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Add back /_restart URL that got lost in the transition to MochiWeb.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660183 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26* Respond to DELETE requests with a "200 OK" status code instead of "202 ↵Christopher Lenz
Accepted", as the deletion is performed immediately. * The "content-type" member in attachment structures is now named "content_type" (underscore) for consistency and to be more accessible from Javascript (and presumably other languages, too) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660176 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Improve the debug logging of request details. As the logging was split into ↵Christopher Lenz
multiple log messages, concurrent requests would get mixed up in the log. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660166 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Change error handling on unknown private paths to be more consistent with ↵Christopher Lenz
how other errors are handled. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660139 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25Use limit of 4GB for document PUT requests, instead of the MochiWeb default ↵Christopher Lenz
of 1MB. Closes COUCHDB-37. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660050 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25Enable Etag processing for document GET requests that include the '?rev' ↵Christopher Lenz
query string parameter. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660046 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23improved private path error wordingNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659690 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20Only use chunked encoding when we actually make use of it to iteratively ↵Christopher Lenz
write the response (for example for views). Otherwise just send a normal response with a Content-Length header. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@658408 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19Changed temp view definition to always be jsonobjects with map/reduce source ↵Damien F. Katz
as members of the object. Everywhere we used 'text/javascript' or 'application/javascript', we now just use 'javascript' git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657926 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18- remove leftover debugging lineJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657553 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18- more graceful handling of unknown private URIs including more user ↵Jan Lehnardt
friendly messages - add a proper comment to the descending=false handling git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657552 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15Incremental reduce first checkin. Warning! Disk format change.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@656861 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15ignore descending=false option instead of throwing an error.Jan Lehnardt
includes a test case git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@656589 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23Fix for replication being reset when replication a local and a remote database.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@650729 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23Replicator optmizations and fix for unnecessary document copy during ↵Damien F. Katz
re-replication git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@650705 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20Change uuid generaion to rely on crypto. Started crypto and inets ↵Damien F. Katz
application in startscript, and also couch_server_up. Fix for regression caused by accidental check-in of disabled etags. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@649988 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20Added proper UUID generation and changed the details of how way debug ↵Damien F. Katz
logging is done to now use a more effcient macro instead of a function call. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@649948 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17Display Request HTTP version on debugJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@649048 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15Merged mochiweb branch back into trunk.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@648222 13f79535-47bb-0310-9956-ffa450edef68