You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ronnieroyston (via GitHub)" <gi...@apache.org> on 2023/06/19 21:44:29 UTC
[GitHub] [couchdb] ronnieroyston opened a new issue, #4648: Document Creating Multiple Attachments Using A Web Browser
ronnieroyston opened a new issue, #4648:
URL: https://github.com/apache/couchdb/issues/4648
[NOTE]: # ( ^^ Provide a general summary of the request in the title above. ^^ )
## Summary
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] ronnieroyston commented on issue #4648: Document Creating Multiple Attachments Using A Web Browser
Posted by "ronnieroyston (via GitHub)" <gi...@apache.org>.
ronnieroyston commented on issue #4648:
URL: https://github.com/apache/couchdb/issues/4648#issuecomment-1599464366
BTW, Project Fauxton does not support (illustrate) multi file uploads. In other words, there does not seem to be a working example available.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org