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

(Authorization) Headers for individual queries #852

Open
@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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @DrakezulsMinimalism

      Issue actions

        (Authorization) Headers for individual queries · Issue #852 · influxdata/influxdb-python