nickva commented on pull request #3425:
URL: https://github.com/apache/couchdb/pull/3425#issuecomment-799748913


   Good idea about reporting the JS version, it might give users an idea which 
JS language features they could target (if they could map the runtime to JS 
features).
   
   We do already report the OTP version in the welcome point as a header:
   
   ```
    $ http $DB
                                                                                
                                                                                
                                     
   HTTP/1.1 200 OK
   ...
   Server: CouchDB/3.0.0-d5fae35-dirty (Erlang OTP/20)
   X-Couch-Request-ID: e766be1148
   X-CouchDB-Body-Time: 0
   
   {
       "couchdb": "Welcome",
       "features": [
           "access-ready",
           "fdb"
       ],
       "git_sha": "d5fae35",
       "uuid": "fake_uuid_for_dev",
       "vendor": {
           "name": "The Apache Software Foundation"
       },
       "version": "3.0.0-d5fae35-dirty"
   }
   
   ```
   
   Would it be too obscure to append the JS version to the `Server` along with 
the OTP version?


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


Reply via email to