10 lines
165 B
Bash
10 lines
165 B
Bash
|
#! /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}"
|