Skip to content

Client and server HTTP headers with golem version and client info, "kill switch" support #2479

@noise64

Description

@noise64

To allow monitoring, gradual handling and disabling of golem CLI clients in the future, we should:

  • add custom headers to the client requests, which includes the client version and platform
  • add custom headers to the server responses to return the current golem server versions
  • add default support for handling e.g. 410 responses with a specific error code as being a deprecated client ("You must upgrade golem CLI to use this server")

The above will require changes in the open api generator too (e.g. allowing setting static custom headers), those should be done as part of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions