gluon/package/gluon-status-page/files
Linus Lüssing c6693b7316 gluon-status-page: add generic respondd cgi-bin
Adding a cgi-bin script which allows to query a node's respondd over HTTP.
This is especially useful when the response is expected to be large and
a UDP response would lead to an unreliable transfer of multiple IP
fragments, like for the upcoming "statistics-extended" respondd
provider. HTTP/TCP is then the more reliable approach.

Query examples with HTTP GET:

  $ curl --compressed "http://<IP6ADDR>/cgi-bin/respondd"
  -> defaults to nodeinfo

  $ curl --compressed "http://<IP6ADDR>/cgi-bin/respondd?nodeinfo+statistics"

Query examples with HTTP POST:

  $ curl --data "" --compressed "http://<IP6ADDR>/cgi-bin/respondd"
  -> defaults to nodeinfo

  $ curl --data "nodeinfo statistics" --compressed "http://<IP6ADDR>/cgi-bin/respondd"

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2022-12-09 18:30:14 +01:00
..
lib/gluon/status-page gluon-status-page: add generic respondd cgi-bin 2022-12-09 18:30:14 +01:00
usr/lib/autoupdater gluon-status-page-api: merge back into gluon-status-page 2018-02-26 02:20:38 +01:00