hetzner-storagebox-exporter/header.sh

10 lines
165 B
Bash
Raw Permalink Normal View History

2022-10-06 20:43:36 +00:00
#! /bin/sh
CONTENT=$(eval "$1")
echo "HTTP/1.0 200 OK"
echo "Content-Length: ${#CONTENT}"
echo "Content-Type: text/plain; charset=utf-8"
echo ""
echo "${CONTENT}"