You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/03/30 06:30:26 UTC

[GitHub] [couchdb] iilyak commented on issue #2728: HTTPotion became soft-deprecated

iilyak commented on issue #2728: HTTPotion became soft-deprecated
URL: https://github.com/apache/couchdb/issues/2728#issuecomment-605808638
 
 
   Be warned there might be dragons. We are not only using an API of the HTTPotion but override some of the callbacks provided by it (see [here](https://github.com/apache/couchdb/blob/master/test/elixir/lib/couch.ex#L55:L177)).  Things we do:
   
   - prefix the url with the value of `EX_COUCH_URL` environment variable
   - inject authentication cookie into headers
   - automatically encode/decode JSON
   
   In addition to that the `prototype/fdb-layer` branch also allows [passing `base_url` in options](https://github.com/apache/couchdb/blob/prototype/fdb-layer/test/elixir/lib/couch.ex#L171:L174).   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services