sztanyoo commented on issue #507: Content-type header is not required when 
putting attachments
URL: 
https://github.com/apache/couchdb-documentation/issues/507#issuecomment-615882299
 
 
   @wohali , you're right. If "Content-Type" header is not specified during 
attachment creation, then it will be "application/octet-stream" at retrieval - 
regardless of the actual file contents.
   
   The issue with the documentation is that it marks "Content-Type" header as 
required. However, it seems to me that one can make requests without sending 
this header.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to