Skip to content

Config Option To Record Support For HTTP #667

@hannahhoward

Description

@hannahhoward

Goals

Providers need to have a way to indicate they are running booster-http for the QueryAsk v2 protocol

How

  1. Add a "HTTPRetrievalURL" string to

    type DealmakingConfig struct {

  2. When the URL is not a blank string, QueryAskV2 will return HTTP options. When it's blank, from QueryAsk v2's point of view, HTTP retrieval is disabled.

This config is the PUBLIC url for HTTP retrieval. Currently, booster HTTP only allows configuring the port, and doesn't support HTTPS. The assumption is if you want your server to run over HTTPS, on a different port externally, or with a filter, it's configured through an Nginx/Apache reverse proxy.

For Discussion

The current proposal is this URL is set manually in the config file, independently of booster-http being started/stopped. That means that there's no guarantee it's correct, or that while set, booster-http is actually running. Should we try to do something to disable returning the URL when booster-http is stopped?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions