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