Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

(Authorization) Headers for individual queries #852

@DrakezulsMinimalism

Description

@DrakezulsMinimalism
  • InfluxDB-python version: 5.3.0
    InfluxDB, Python and OS are not relevant as the implementation simple does not pass the headers individually

Could we add headers to individual queries?
The client allows headers at construction and for individual "client.request" calls, which is what "client.query" uses internally, however, the query-method does not accept the parameter "headers" currently.

The idea is to have shared clients at the backend for multiple front-end users by only passing the respective authorization headers. I would/will make the changes and submit a pull-request if nobody has concerns for this approach for other (internal) reasons that I have not come across yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy