open_revs=all used to return content as json array but now is multipart #3353
-
Hi there, we are using the open_revs to get for a document all the revisions (and it has been working for a while), and as far as I see even in documentation the response should be a JSON array (https://docs.couchdb.org/en/stable/replication/conflicts.html?highlight=open_revs#working-with-conflicting-documents) but don't really know what changed lately because we are getting a multipart/mixed; content-type as response: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That's odd. CouchDB should only send a https://github.com/apache/couchdb/blob/3.0.0/src/chttpd/src/chttpd_db.erl#L943-L968 Is it possible your client started to send a header like that? |
Beta Was this translation helpful? Give feedback.
That's odd. CouchDB should only send a
multipart/mixed
response if the request includes anAccept
header indicating support for that content-type:https://github.com/apache/couchdb/blob/3.0.0/src/chttpd/src/chttpd_db.erl#L943-L968
Is it possible your client started to send a header like that?