glynnbird opened a new pull request #279:
URL: https://github.com/apache/couchdb-nano/pull/279


   ## Overview
   
   Multipart PUT requests have been broken in the 9.x release as Axios didn't 
have native multipart request building, whereas "request" did. I tried using 
the `form-data` module but CouchDB didn't like its layout of multipart 
requests, so I rolled my own in `lib/multipart.js` which builds up a 
`multipart/related` request body, boundary and content-type header.
   
   ## Testing recommendations
   
   See sample code in issue #238 which now works.
   
   ## GitHub issue number
   
   Fixes issue#238
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [x] Changes are covered by tests;
   - [n/a] Documentation reflects the changes;
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to