It used to be that a POST to db/_compact would compact the database, but now this is rejected:
$ curl http://127.0.0.1:5984 {"couchdb":"Welcome","version":"0.9.0a767289"} $ curl -X POST http://127.0.0.1:5984/couchtiny-test/_compact {"error":"bad_content_type","reason":"Invalid Content-Type header for form upload"} curl -v shows "415 Unsupported Media Type" This is also detected in the test suite, and there are some other tests failing in a similar way. --- attachments --- # Exception raised: {"error":"bad_content_type","reason":"Invalid Content-Type header for form upload"} --- view_include_docs --- # Assertion failed: xhr.status == 202 # Assertion failed: !resp.rows[0].doc # Assertion failed: resp.rows[0].error == "missing" --- compact --- # Exception raised: {"error":"bad_content_type","reason":"Invalid Content-Type header for form upload"} --- rev_stemming --- # Exception raised: {"error":"bad_content_type","reason":"Invalid Content-Type header for form upload"} Regards, Brian.
