You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation shows that it is possible to load multiple attachments in a single HTTP PUT, the Content-Type being multipart/related. Web browser methods XMLHTTPRequest and Fetch do not natively produce HTTP requests with this Content-Type.
Desired Behaviour
Publish JavaScript illustrating how to PUT multiple attachments in a single request to CouchDB.
NOTE: I tried to proxy a request crafted with FormData() through Node.js and simply rewrite the Content-Type (keeping the boundary) but this fails with a 500 error.
The text was updated successfully, but these errors were encountered:
Summary
The documentation shows that it is possible to load multiple attachments in a single HTTP PUT, the
Content-Type
beingmultipart/related
. Web browser methods XMLHTTPRequest and Fetch do not natively produce HTTP requests with thisContent-Type
.Desired Behaviour
Publish JavaScript illustrating how to PUT multiple attachments in a single request to CouchDB.
NOTE: I tried to proxy a request crafted with
FormData()
through Node.js and simply rewrite theContent-Type
(keeping theboundary
) but this fails with a500
error.The text was updated successfully, but these errors were encountered: