Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-55011

Request cbauth accept HTTP User-Agent

    XMLWordPrintable

Details

    • 0

    Description

      Query has MB-51833 which requires we set the HTTP User-Agent header to identify requests coming from Query in the http_access.log.   Query of course uses cbauth so doesn't control the HTTP requests directly.

      This improvement request is for cbauth to:

      • Make use of the User-Agent in the request passed to AuthWebCreds()
        • I expect means just copying such a header in VerifyOnServer()
      • Provide a means (perhaps a new function?) of supplying a user agent string for use with Auth()
        • say an AuthWithUA() or the like function accepting a third string argument as the User-Agent string which Query can change to use.

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ajay.bhullar Ajay Bhullar
              Donald.haggart Donald Haggart
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty