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:01:19 UTC

[GitHub] [couchdb] ronnieroyston commented on issue #2448: How to place a multipart request, with Content-Types as multipart/related, the error message needs to be more descriptive ?

ronnieroyston commented on issue #2448:
URL: https://github.com/apache/couchdb/issues/2448#issuecomment-1597753853

   uploading multiple attachments to couch is rather difficult. "multipart/related" is arcane.
   
   I'm aborting this after spending several hours on it and will just ping-pong a new HTTP PUT for each file. 
   
   ```
   2023-06-19 15:53:26 [error] 2023-06-19T20:53:26.670055Z nonode@nohost emulator -------- Error in process <0.4577.3> with exit value:
   2023-06-19 15:53:26 {{nocatch,<<"expected more data">>},[{chttpd_db,receive_request_data,2,[{file,"src/chttpd_db.erl"},{line,1415}]},{couch_httpd,read_until,3,[{file,"src/couch_httpd.erl"},{line,1263}]},{couch_httpd,parse_multipart_request,3,[{file,"src/couch_httpd.erl"},{line,1222}]},{couch_httpd_multipart,'-decode_multipart_stream/3-fun-1-',4,[{file,"src/couch_httpd_multipart.erl"},{line,33}]}]}
   ```


-- 
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