summaryrefslogtreecommitdiff
path: root/src/mochiweb
AgeCommit message (Collapse)Author
2010-01-29Allow storing attachments in compressed form. Closes COUCHDB-583. Thanks ↵John Christopher Anderson
Filipe Manana git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@904650 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16Provide Content-MD5 header support for attachments.Paul Joseph Davis
Fixes COUCHDB-558. Thanks to Filipe Manana we now have checks for attachment transfer integrity using the Content-MD5 header (or trailer). Use of this integrity check is triggered by specifying a Content-MD5 header in your request with a value that is a base64 encoded md5. For requests that are using a chunked Transfer-Encoding it is also possible to use a trailer so that the Content-MD5 doesn't need to be known before transfer. This works by specifying a header "Trailer: Content-MD5" and then in the final chunk (the one with a size of zero) you can specify a Content-MD5 with exactly the same format as in the request headers. See the ETap test 130-attachments-md5.t for explicit examples of the request messages. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@891077 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21upgrade mochiweb to r113, use hooks instead of forking mochijson2. COUCHDB-474Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@882941 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13Initial check-in of APIs for multiple/related supported and incremental ↵Damien F. Katz
replication of only changed attachments. Needs more far more testing and to be hooked up the replicator. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835981 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09wait 5 minutes before assuming a connection is staleAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@834212 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09Fixes 'make distcheck' to run the test suite.Paul Joseph Davis
Quite a few changes to the build system to handle VPATH builds appropriately as well as make the test suite know about them. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833951 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23reject attempts to upload invalid UTF-8 JSON. Closes COUCHDB-345Adam Kocoloski
This patch requires JSON to be encoded using UTF-8. In the future we will accept other encodings. Thanks Joan Touzet and James Dumay for the bug reports and Curt Arnold for patches and discussion. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@818249 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21Back out Mochiweb patch from r659636 to support older Erlang versions, as ↵Christopher Lenz
those are no longer supported by CouchDB anyway. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806513 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04Initial check-in of OAuth and cookie authentication.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800938 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14wheeeeeeeeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06trimmed trailing whitespaceNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08accept UTF-16 surrogate pairs. Fixes COUCHDB-327, COUCHDB-333Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@782643 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30Added code coverage report generation target.Paul Joseph Davis
To generate reports: # Assuming etap is installed $ cd /path/to/couchdb $ ./bootstrap && ERLC_FLAGS=+debug_info ./configure && make cover You can browse the report by opening ./cover/index.html in your html consuming software of choice. Shoutout to Nick Gerakines in THANKS for helping with etap and testing in general. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@780326 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03Forgot to change MochiWeb version in lib directory name when updating ↵Christopher Lenz
MochiWeb in r747575. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749783 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24Update MochiWeb in trunk to r97. Closes COUCHDB-255.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@747575 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24Fix for COUCHDB-266.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@747381 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18Better error messages on decoding invalid JSON. Changes the CouchDB version ↵John Christopher Anderson
of mochijson2. Closes COUCHDB-258 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@745401 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14enhance the Mochiweb streaming api based on feedback from Bob IppolitoJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744309 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13Accept standalone attachment PUTs with Transfer-Encoding: chunked John Christopher Anderson
Includes a patch to mochiweb_request that is under review for inclusion upstream. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743971 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21change integer handling in mochijson2 to fix JSON regression COUCHDB-118John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@697512 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31Merged json_term_changes branch back into trunk.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690668 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25Fix for problem with Safari and mochiweb.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679636 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24Updated MochiWeb in trunk to r82.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@671125 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16renamed directory variables, stage oneNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@668231 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07removed old, broken, datarootdir hackNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@664372 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07corrected use of erlc to $(ERLC)Noah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@664364 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Updated MochiWeb in trunk to r76. Closes COUCHDB-42.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660136 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23Patch MochiWeb for compatibility with R11B. This patch has been rejected ↵Christopher Lenz
upstream, but it's simple enough to just apply here. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659636 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22Updated MochiWeb in trunk to r73.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659244 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30Update MochiWeb code in trunk to r66.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@652206 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